Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    IPhone 5 main window not fitting properly like iPad Air

    Mobile and Embedded
    1
    2
    554
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kloveridge last edited by

      I have a simple utility I am working on that uses QGLWidget's. I can export to iPhone and Android and it works pretty good. I just got the app to run on iPhone 5 and noticed that the main window isn't fitting properly. I've attached two images showing the way its supposed to look on a iPad Air and the iPhone 5 version. Now obviously, the widget layout has to squeeze down to accomodate the smaller iPhone 5 screen. But if you look at the openGL portion, you will notice on the iPad air version, there is a white border all around the open GL portion that is missing on the iphone 5 version.

      Wonder if anyone has any ideas...

      !http://i.imgur.com/lmOd1bE.jpg(iPad Air Version)!

      !http://i.imgur.com/Ckh43hJ.jpg(iPhone 5 version)!

      1 Reply Last reply Reply Quote 0
      • K
        kloveridge last edited by

        The more I am looking at this, it appears that Apple's status bar at the top seems to not be factored into the window size. I suspect if I can get rid of that status bar, the window will properly fit. Its low on my priority list right now, I'll get to it later.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post