Results 1 to 2 of 2

Thread: widget layout: dont stretch vertically

  1. #1
    Join Date
    Jul 2012
    Posts
    244
    Thanks
    27
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default widget layout: dont stretch vertically

    hi,

    Somehow i a missing something when working with layouts.
    I have a widget that contains a vertical layout, which in turn contains two horizontal layouts.
    They arrange just fine, but stretch both vertically and horizontally when i resize the widget.
    I want the vertical layout to only stretch horizontally, but no matter what i change in the object properties, it doesnt have ANY effect.

    Unfortunately, most tutorials are fully satisfied with stretching in both directions...

  2. #2
    Join Date
    Jul 2012
    Posts
    244
    Thanks
    27
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: widget layout: dont stretch vertically

    nvm, the problem was somewhere else.

Similar Threads

  1. Qt Designer Layout and stretch factor
    By folibis in forum Qt Tools
    Replies: 2
    Last Post: 26th April 2012, 22:53
  2. How to stretch widgets to fill the layout size
    By rawfool in forum Qt Programming
    Replies: 1
    Last Post: 20th April 2012, 05:43
  3. Why dont see a Custom Widget Promoted ?
    By tonnot in forum Newbie
    Replies: 1
    Last Post: 27th October 2010, 13:24
  4. problems with layout - (stretch)
    By pakine in forum Qt Programming
    Replies: 3
    Last Post: 25th August 2010, 13:42
  5. Qt layout space + stretch
    By bunjee in forum Qt Programming
    Replies: 3
    Last Post: 20th December 2007, 15:53

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.