Project

General

Profile

Strugling with Heigth

Added by Mario Charest over 10 years ago

Take the treeview-dragdrop example, when the browser is resized ,everything is reposition properly. Now modifiy the code to put all the widget in a tab widget. The about widget will but cut off and the browser will show scroll bar. I`ve tried everything I can think of to "fix" this but to no avail. Any ideas. Note that this is not related to the tab widget itself. If I just insert a button before the existent content same think happen.

Mario


Replies (1)

RE: Strugling with Heigth - Added by Koen Deforche over 10 years ago

Hey,

You need to use layouts at every level that you want browser resizes constraining the height. So you should make sure that you do not call container~~addWidget() anywhere (when modifying the code), but layout~~>addWidget().

Regards,

koen

    (1-1/1)