Results 1 to 3 of 3

Thread: How to expanding the layout?

  1. #1
    Join Date
    Dec 2009
    Posts
    18
    Thanks
    1

    Default How to expanding the layout?

    hi, there, I create a window which has been splite to some parts, such as title bar area, menu bar area, and Content area.

    the Content area will be filled with the UI which designed by Qt Designer.

    the UI has a QHBoxLayout in there. Now, I want to expand the Layout made it fill the whole Content area.

    But i dont find the way to do this. Can you help me ?

    Thanks.

  2. #2
    Join Date
    Jan 2008
    Location
    Bengaluru
    Posts
    144
    Thanks
    8
    Thanked 7 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: How to expanding the layout?

    Increase the minimum size of the layout.

  3. #3
    Join Date
    Dec 2009
    Posts
    18
    Thanks
    1

    Default Re: How to expanding the layout?

    Quote Originally Posted by nikhilqt View Post
    Increase the minimum size of the layout.
    Thanks, I've found the way in Qt Designer.

    the widget can be Layout to Grid by right click the widget in Qt Designer.

Similar Threads

  1. Replies: 0
    Last Post: 25th May 2009, 10:00
  2. Expanding QTextEdit
    By gruszczy in forum Qt Programming
    Replies: 7
    Last Post: 16th February 2009, 04:22
  3. Expanding QLabel
    By mullwaden in forum Qt Programming
    Replies: 1
    Last Post: 15th November 2008, 08:08
  4. Can I insert expanding layout in Qt Designer?
    By zolookas in forum Newbie
    Replies: 2
    Last Post: 6th October 2008, 18:17
  5. Expanding/shrinking a widget
    By punkypogo in forum Qt Programming
    Replies: 6
    Last Post: 27th May 2008, 16:50

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.