How to change the width of a qframe in code
-
How can I change the width of a qframe in code?
@ui->myqframewidget->SetWidth();@
but there is not a set width code for the qframe. -
Hi,
Have a look at "the size property":http://qt-project.org/doc/qt-4.8/qwidget.html#size-prop
Hope it helps
-
[quote author="SGaist" date="1364201095"]Hi,
Have a look at "the size property":http://qt-project.org/doc/qt-4.8/qwidget.html#size-prop
Hope it helps[/quote]
Thanks
-
Why don't you use layouts and let them care for resizing and positioning of elements?