How to disable maximize button in widgets [SOLVED]
General and Desktop
3
Posts
2
Posters
7.3k
Views
1
Watching
-
wrote on 10 Mar 2012, 11:43 last edited by
How can we prevent widgets from maximizing. I tried setting a limit on maximum size but didn't work
-
wrote on 10 Mar 2012, 13:08 last edited by
"setFixedSize()":http://qt-project.org/doc/qt-4.8/qwidget.html#setFixedSize function maybe?
@this->setFixedSize(this->size());@It sets fixed size of the widget, as "drawn" in form editor.
Regrads,
Jake -
wrote on 10 Mar 2012, 13:15 last edited by
O thanks! worked like a charm
1/3