Results 1 to 3 of 3

Thread: UI file showing different in desktop and laptop ..

  1. #1
    Join Date
    May 2012
    Location
    India
    Posts
    51
    Thanks
    4
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: UI file showing different in desktop and laptop ..

    Hii
    In my project one ui file is there , when i am viewing that ui file in my laptop( having 15 inch screen ) half of the ui file is not showing , when i am running the same project in my desktop(having bigger screen than my laptop) the same ui file is showing completely . What might be the reason and how to show the full ui in my laptop ??
    Thankxx in adv ..


    Added after 1 5 minutes:


    i got the solution , i just decrease the heigt of my UI file . Now its working fine both in my desktop as well as in my laptop ..
    Last edited by riarioriu3; 25th June 2012 at 08:30.

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: UI file showing different in desktop and laptop ..

    use------>

    Qt Code:
    1. this->setFixedSize(w,h);
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: UI file showing different in desktop and laptop ..

    Use a layout so that widgets resize correctly.

Similar Threads

  1. Application is fully functional ONLY on my laptop
    By juracist in forum Installation and Deployment
    Replies: 17
    Last Post: 24th June 2012, 23:58
  2. problem using qt mobility with my laptop camera
    By eyaler in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 27th May 2012, 18:40
  3. Qt Assistant not showing my help file
    By armonge in forum Qt Tools
    Replies: 0
    Last Post: 7th October 2010, 07:47
  4. Draging a non-existing file to the Windows Desktop
    By klaus1111 in forum Qt Programming
    Replies: 13
    Last Post: 20th September 2007, 11:47
  5. Remote file list Drop to desktop
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 9th February 2007, 23:16

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.