Results 1 to 8 of 8

Thread: How do I layout in a Grid?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: How do I layout in a Grid?

    Quote Originally Posted by DPinLV
    Here is the ui code
    Next time, please, post it as an attachment.

  2. The following user says thank you to jacek for this useful post:

    DPinLV (10th August 2006)

  3. #2
    Join Date
    Jul 2006
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    14

    Default Re: How do I layout in a Grid?

    Ok, Brandybuck,

    I see what I was doing wrong, I was using "Layout in Grid" and when I use "Layout Vertically" I get the results I want.

    Thank you.

  4. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 74 Times in 54 Posts

    Default Re: How do I layout in a Grid?

    Quote Originally Posted by DPinLV
    I see what I was doing wrong, I was using "Layout in Grid" and when I use "Layout Vertically" I get the results I want.
    You will need two layouts. Select both buttons and the spacer, then select "layout horizontally". Then select the main window and select "layout vertically".

Similar Threads

  1. changing layout of a widget
    By mikro in forum Qt Programming
    Replies: 10
    Last Post: 4th August 2009, 21:21
  2. Dynamic grid layout
    By eriwik in forum Qt Programming
    Replies: 1
    Last Post: 12th June 2006, 16:19
  3. "dynamic" layout
    By hulk in forum Qt Programming
    Replies: 2
    Last Post: 9th May 2006, 08:16
  4. How do I move a widget inside a grid Layout
    By barnabyr in forum Newbie
    Replies: 1
    Last Post: 9th May 2006, 00:23
  5. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 13:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.