[Moved] Question on Qt 4 Designer with BoxLayout



  • Hi,

    I want my top form a VerticalLayout inside which I want to put a window as the first widget (to draw), a horizontal separator, and then a Horizontal layout which will contain multiple widgets each of which will contain either Vertical or Horizontal layout of other widgerts. What do I have to do to get this in QT Designer?

    I can do this very easily using Glade, but cannot figure out how to do this in Designer. Any time I add BoxLayout type inside another BoxLayout, it tries to occupy the whole space and does not let a sibling widget being inserted. What am I doing wrong?
    Thanks in advance.



  • [Moved this to the Tools subforum]

    You should add the layouts from the most inner to the outside, not the other way round. Maybe you need to break the outer layout, add the inner layout and re-add the outer layout.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.