Results 1 to 3 of 3

Thread: Is there something like 'pack' for 'auto-adjust' a window to fit the components?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Is there something like 'pack' for 'auto-adjust' a window to fit the components?

    I have a dialog with a Group-Box with variable height. I'd want to use some function to 'pack' the form, that is to say, to 'auto-calculate' the height and width of all the components and then set the height and the width of the window.
    Have to do this manually ?
    Thanks

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Is there something like 'pack' for 'auto-adjust' a window to fit the components?

    You mean layouts?
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

  3. #3
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Is there something like 'pack' for 'auto-adjust' a window to fit the components?


Similar Threads

  1. Auto-adjusting height of a constant width window
    By akiross in forum Qt Programming
    Replies: 0
    Last Post: 7th July 2010, 01:46
  2. How to pack my QT application
    By pshah.mumbai in forum Installation and Deployment
    Replies: 7
    Last Post: 15th September 2009, 16:52
  3. Widgets mega pack.
    By jwcrowell in forum Qt Tools
    Replies: 3
    Last Post: 18th March 2009, 08:35
  4. Replies: 11
    Last Post: 11th August 2008, 09:14
  5. Qt DLL Pack for Windows
    By LMZ in forum General Discussion
    Replies: 4
    Last Post: 20th May 2007, 10:00

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.