how to set the max vertical size of a "QHBoxLayout" embedded in a QWidget set as a grid?
Solved
General and Desktop
-
my object heirarchy looks like this:
and the visual geometry is this:
but i do not want the two HBox's to be evenly distributed, i want the top one to be vertically much shorter, like this screen shot showing me dragging the bottom edge up a bit:
but when i let go it snaps back to where it was, instead of having the bottom HBox expand to fill the exposed extra space.
i see "layoutSizeConstraint" but i can't find documentation on how to use it
-
okay apparently, WYSI-NOT-WYG
when i RUN the app, it sizes as expected
-
Hi,
I haven't used designer lately but I would go with the stretch factor. Set to one for the top part and two for the bottom to get started.
-
okay apparently, WYSI-NOT-WYG
when i RUN the app, it sizes as expected