Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Moved] Question on Qt 4 Designer with BoxLayout
Forum Updated to NodeBB v4.3 + New Features

[Moved] Question on Qt 4 Designer with BoxLayout

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pratipm
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      [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.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved