Results 1 to 2 of 2

Thread: main window gets wider than screen size

  1. #1
    Join Date
    Jan 2012
    Posts
    3
    Qt products
    Qt3 Qt4

    Question main window gets wider than screen size

    I have a maximized main window with dock widgets. when i increase width of the left dock area( by dragging ) the main window gets wider than screen size. how can i prevent this ? i'm using Qt3. thanks.

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: main window gets wider than screen size

    Setting maximumSize() on the main window to the screen size should help.

Similar Threads

  1. How to center main window on screen?
    By LarryP in forum Qt Programming
    Replies: 5
    Last Post: 24th July 2020, 21:29
  2. Replies: 1
    Last Post: 31st May 2011, 00:55
  3. Replies: 3
    Last Post: 30th December 2010, 16:34
  4. Main Window minimal size constraints
    By psih128 in forum Qt Programming
    Replies: 1
    Last Post: 3rd August 2010, 18:06
  5. Main Window size problem
    By frenk_castle in forum Newbie
    Replies: 2
    Last Post: 20th December 2009, 11:49

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.