Results 1 to 4 of 4

Thread: Setting behaviour in designer

  1. #1
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Setting behaviour in designer

    Hi.
    I work with the designer and now I wish to place two Layouts in the Mainwidget, one will be a vertical at the left side of the Mainwidget and it should keep a specific minimum width of, let's say 100 pixels, and the rest of the Mainwidget should be filled with the other Layout.
    When resizing, the only thing that shouldn't change is the width of 100 pixels of the left layout, everything else should adapt to the size of the Mainwidget.

    How can I set this behaviour in the designer?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Setting behaviour in designer

    just limit the widgets inside the fixed width layout to a fixed width.

  3. #3
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Setting behaviour in designer

    And what about the size when I enlarge the mainwidget?

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Setting behaviour in designer

    But you said:
    When resizing, the only thing that shouldn't change is the width of 100 pixels of the left layout, everything else should adapt to the size of the Mainwidget.

Similar Threads

  1. Setting QFrame palette in Designer doesn't "stick"
    By Doug Broadwell in forum Qt Tools
    Replies: 1
    Last Post: 9th September 2007, 21:44
  2. Replies: 13
    Last Post: 15th December 2006, 11:52

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.