Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.2.7
Description
If a widget with a scroll area (horizontal scrollbar off) is nested with another widget with gridlayout where layout has line edit and label in columns then at run time if setColumnMinimumWidth() is called it breaks the layout and leaves line edit cut off.
if setColumnMinimumWidth() is called in the beginning then the the minimum size of the layout is respected. but if it is called against a button click this does not works.
Attached is the small example which reproduces this.
To visualize problem better, uncomment following line and run the example.
//layout->setColumnMinimumWidth(0, 200);
And then comment it and run and hit Button "Change column width"