Unsolved How set size policy
-
Hello my mainwindow looks like this:
I would like to auto resize "Widget" with resize window and don't change size of tabWidget and GroupBoxes.
How to set size policy this widget to this effect? -
Hi,
I think that you just want to keep both tabWidget and GroupBoxes to fixed size
In qt designer there is a property called sizePolicy ,
SizePolicy must be preferred for QWidget (preferred is the default value)
SizePolicy must be fixed for QGroupBoxes and tabWidget -
And window in GridLayout?
-
@erytcg said in How set size policy:
And window in GridLayout?
I am not sure i understand what you want,? window has also a sizePolicy
-
SizePolicy must be preferred for QWidget (preferred is the default value)
SizePolicy must be fixed for QGroupBoxes and tabWidget
It dosn't work when I resize window all is on left corner -
@erytcg It looks like your main window does not have a layout...