MainWindow: how to resize automatically?
Unsolved
General and Desktop
-
Hi!
On Main Window I have a QFrame with a horizontal layout.
QFrame fills with dynamically created widgets.
How to make MainWindow resized automatically?@sitesv said in MainWindow: how to resize automatically?:
How to make MainWindow resized automatically?
Do you mean you want your main window to resize if you add more widgets?
-
@sitesv said in MainWindow: how to resize automatically?:
How to make MainWindow resized automatically?
Do you mean you want your main window to resize if you add more widgets?
-
Call resize(sizeHint())
-
Call resize(sizeHint())
@Christian-Ehrlicher Thanks!
One more q.
This trick is suitable to resize main window to qtablewidget size? Or I should calculate width and height manually?