Results 1 to 2 of 2

Thread: sizing question

  1. #1
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default sizing question

    Lets say i am putting together a pannel of labels and spin boxes.
    each line will be be a QHBoxLayout with a child QLabel and QSpinBox. Many of these lines will be added to a QVBoxLayout. How do i go about changing the minimum spacing between the lines? do i have to adjust both the individual components and the QHBoxLayouts?

    thanks
    jonathan

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: sizing question

    You can adjust the margin property of QHBoxLayout's and the spacing property of the QVBoxLayout.
    J-P Nurmi

Similar Threads

  1. QThread exit()/quit() question
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2006, 14:38
  2. simple thread layout question
    By mhoover in forum Qt Programming
    Replies: 1
    Last Post: 12th August 2006, 11:02
  3. Replies: 6
    Last Post: 19th March 2006, 18:41
  4. Basic question on new and delete
    By jcr in forum General Programming
    Replies: 25
    Last Post: 14th February 2006, 15:09
  5. simple question on Class-Members
    By mickey in forum General Programming
    Replies: 7
    Last Post: 4th February 2006, 22:37

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.