rocksportrocker
rocksportrocker

Reputation: 7429

Qt: open resizable window with recommended width

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

Answers (1)

alexisdm
alexisdm

Reputation: 29896

QWidget.resize() or QWidget.setGeometry should work in most cases.

Upvotes: 1

Related Questions