Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Vertical size policy to frame
mit_cruze last edited by
Suppose I am creating an application which contains frame. I am giving vertical size policy to fixed.
Now If I run my application on Large screen does the size of frame grows according to my screen aspect ratio?
Will vertical size will be same( as for example vertical height of frame in small screen is 5cm) in Large screen?
@mit_cruze I would say it will keep its size since it is set to fixed. So, if you set the size to 100 it will be 100.
But why not just test?
m.sue last edited by
I would think it depends on the type of dpi-awareness of the program. When you set it to 100, its 100 pixels. And 100 pixels are not 5 cm on every screen nor on each OS while keeping the screen.
I think: The only thing garantueed is that if you set the layout (or size policy) to fixed the user cannot resize the widgets.