I need some help with layouts.
General and Desktop
4
Posts
4
Posters
1.0k
Views
1
Watching
-
I'm trying to create a widget where some controls can resize while others cannot (specifically see this picture http://imgur.com/J0W6e9Y ). I've tried some combination of layouts but none of them worked as I intended. Can anyone help please ?
-
I would suggest that you do not use setFixedSize() to set the size, it might complicate things in future.
What I do suggest:
- Make the Horizontal and Vertical Size policies of each of the Group Boxes 'Minimum'.
- Make the Horizontal and Vertical size policies of the TextLabel Expanding.
- Add a vertical spacer under the 2 GroupBoxes
That should give you what you are looking for (I hope).
(see http://imgur.com/FPxZA6d )[edit: fixed link]
Regards,