Results 1 to 2 of 2

Thread: How to resize pages automatically in a QStackedWidgetContainer?

  1. #1
    Join Date
    Feb 2012
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default How to resize pages automatically in a QStackedWidgetContainer?

    Hello,
    In my project, I created a main window and its central widget is a QStackedWidget object. I added three pages to the stacked widget and none of them getting re-sized automatically when the main form is re-sized. How do i re-size all the pages if the size of the stacked widget changes.

  2. #2
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: How to resize pages automatically in a QStackedWidgetContainer?

    You probably didn't layout content of the pages (each page!) itself, that's why QStackWidget resize but not the content.
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

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

    premkumar (2nd July 2012)

Similar Threads

  1. Replies: 3
    Last Post: 11th December 2011, 10:09
  2. Replies: 1
    Last Post: 9th May 2011, 20:45
  3. Replies: 1
    Last Post: 1st May 2010, 23:03
  4. Replies: 2
    Last Post: 22nd January 2008, 16:10
  5. Creating pages
    By hgedek in forum Qt Programming
    Replies: 1
    Last Post: 19th July 2007, 15:11

Tags for this Thread

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.