[Qt-interest] Qt Designer - need help with controlling distribution of space within a splitter containing two layouts
Mitchell L Model
MLMDev at comcast.net
Fri Feb 12 21:11:23 CET 2010
Follow up to my query -- it turns out that when I open the application
I get the layout I was aiming for. It's only in Qt Designer's windows
(including previews) where it's wrong. So maybe this is just a problem
with Qt Designer's interpretation of splitters, layouts, etc.
Now I have another question. I would like the layout on the left side
of the splitter to have a width ranging between, say 32 and 128. I
have set the minimum and maximum width of each component in the left-
side vertical layout accordingly. When the application runs, moving
the splitter does allow the left-side widgets to grow to their
maximum, but the splitter can be moved past where that happens,
leaving lots of empty space. Is there a way to set a limit on where
the splitter can move to? Maybe it's just not a good idea to set a
maximum for widgets in splitters.
More information about the Qt-interest-old
mailing list