Results 1 to 4 of 4

Thread: Forms overlapped in windows xp ......they are fine in windows 7

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Posts
    189
    Thanks
    2

    Default Re: Forms overlapped in windows xp ......they are fine in windows 7

    There nothing to cut and paste, it's a for of various widgets. I have aligned them properly in windows 7 but they're not coming correctly in windows XP. I dont know why is it happening. Do I need to take any special care for deploying it in windows XP ???. If there's anything please let me know. Thanks Sujan

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,330
    Thanks
    317
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Forms overlapped in windows xp ......they are fine in windows 7

    The default fonts in Windows 7 vs. XP are probably different sizes (in other words, different pixel sizes).

    Widgets like buttons and labels that contain text will expand their sizes so that all the text is visible, unless you set the maximum width (in Designer or using QWidget method calls in code). So if you are designing in Win 7, you are probably laying out the widgets in a form that has a fixed size and can't expand to accommodate whatever you have inside when you display it in another Windows version.

    Look at the "Appearance" settings in your Windows display properties, see if there is information on the default font size.

Similar Threads

  1. Replies: 5
    Last Post: 14th April 2011, 19:10
  2. How to check if QWidget is overlapped by other windows
    By arturo182 in forum Qt Programming
    Replies: 1
    Last Post: 19th September 2010, 09:54
  3. Replies: 3
    Last Post: 12th July 2010, 06:25
  4. Windows and forms (for a Wizzard)
    By doczorg in forum Newbie
    Replies: 1
    Last Post: 28th January 2010, 08:50
  5. Replies: 0
    Last Post: 1st September 2009, 09:23

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
  •  
Qt is a trademark of The Qt Company.