[SOLVED] the horizontal layout widget's height is 0?
-
Hi, I've little problem with the horizontal layout widget below(the focused one under the second push button) that is created with a null height, and that I can't add inside it other widgets:
!http://picsee.net/upload/2014-04-28/fc8343beaf97.png(0)!
so how to do to add widgets inside it? thanks.
-
Hi,
Your image is not visible so it's pretty much impossible to help you
-
Hi,
The image is visible now.
I would break the top most layout and your 0 height layout should get more room so you can drag other widgets in it.
Afterwards add yor top most layout again and the sizehint of the newly added widgets should force the needed height.Hope it helps.
-
[quote author="Eddy" date="1398715087"]Hi,
The image is visible now.
I would break the top most layout and your 0 height layout should get more room so you can drag other widgets in it.
Afterwards add yor top most layout again and the sizehint of the newly added widgets should force the needed height.Hope it helps.[/quote]
yes, that really helps! I solved the problem, by setting layoutTopMargin to a higher value then I could drag other widgets successfully before resetting layoutTopMargin to 0. Thanks!