Results 1 to 3 of 3

Thread: TabWidget with resizable content

  1. #1
    Join Date
    Oct 2007
    Posts
    11
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default TabWidget with resizable content

    Hi!

    I am trying to get a tab widget resizable with main frame (done) with resizable content.
    However I don't know how to set up a layout on contents that would work with size of tab.

    The UI file has a tab widget within a dialog and a lineedit in a tab. The target is to have the dialog that, when resized, resizes both tab and lineedit. Currently only tab widget resizes.

    Can this be done within designer without coding?

    Thanks!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: TabWidget with resizable content

    You just need to apply layouts to each of the tab pages.

  3. The following user says thank you to wysota for this useful post:

    dentharg (14th November 2007)

  4. #3
    Join Date
    Oct 2007
    Posts
    11
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: TabWidget with resizable content

    This is too simple

    Dzięki!

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.