[Q] How to open main window at preset size?

About usage, announcement and development of skins for VLC
edcoppen
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2011 13:48

[Q] How to open main window at preset size?

Postby edcoppen » 27 Jul 2011 14:01

Hey all,

I have a question with regards to initial window size. I want the window to open at a relatively small size of 624x398. To achieve this I set the initial width and height to these dimensions as you can see below. I also set them as the minimum dimensions and for the maximum I used 1650x1080 as this is my screen resolution. This can all be seen below:

Image

The problem is that when I play a video the window automatically enlarges to accommodate the video. Is there a way of preventing this behaviour? In other words I want the video to be scaled down to fit into the window, not the window scaled up to fit the video.

I hope that makes sense.

Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: [Q] How to open main window at preset size?

Postby Jean-Baptiste Kempf » 27 Jul 2011 16:53

Deactivate Video resizing in preferences.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

3breadt
Big Cone-huna
Big Cone-huna
Posts: 827
Joined: 19 Mar 2006 11:37
Operating System: Win7 Pro / OS X 10.7
Location: Paderborn, Germany
Contact:

Re: [Q] How to open main window at preset size?

Postby 3breadt » 01 Aug 2011 10:49

The Video element has an "autoresize" option. Set it to false in the skin editor. Then the window will not resize automatically to fit the video.
-- 3breadt (aka altglass)

edcoppen
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Jul 2011 13:48

Re: [Q] How to open main window at preset size?

Postby edcoppen » 03 Aug 2011 14:16

The Video element has an "autoresize" option. Set it to false in the skin editor. Then the window will not resize automatically to fit the video.
Thank you. This does exactly what I want and means that I don't have to change the VLC settings after installation.

Thanks again


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 4 guests