Reputation: 7429
How can I open a dialog window in Qt/PyQt with a recommended size which can be shrinked and expanded ? I find only methods for setting a miniumSize, but not to set a actual size.
Upvotes: 0
Views: 281
Reputation: 29896
QWidget.resize()
or QWidget.setGeometry
should work in most cases.
Upvotes: 1