Results 1 to 13 of 13

Thread: main window resize question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default main window resize question

    I would like to dynamically add/remove labels in a gridlayout at run time. Adding them is not a problem and the main window resizes appropriately. When I then remove those labels again, the Main window doesn't shrink back, although I can manually resize the main window back to its original size.
    What methods am I missing?

    I have attached a sample project.
    Attached Files Attached Files

  2. The following user says thank you to schnitzel for this useful post:

    Ishmael (3rd June 2010)

Similar Threads

  1. Resize main window after hiding an element
    By Swankee in forum Newbie
    Replies: 2
    Last Post: 22nd February 2012, 23:23
  2. Replies: 9
    Last Post: 16th May 2010, 16:21
  3. Replies: 11
    Last Post: 11th August 2008, 09:14
  4. Replies: 15
    Last Post: 23rd March 2007, 16:16
  5. Main window
    By Michiel in forum Qt Tools
    Replies: 1
    Last Post: 20th March 2006, 23:54

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.