Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Application layout on Android device
Forum Updated to NodeBB v4.3 + New Features

Application layout on Android device

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.2k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    SebiSebi
    wrote on last edited by
    #1

    Hello!

    Recently I have created my first Qt Android Application and I've deployed it on a physical device. It runs ok, except for the fact that dialogs do not fit correctly in the screen. How do I handle this problem?

    Thanks in advance!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      s.frings74
      wrote on last edited by
      #2

      I also struggled with layouts created by the GUI editor (*.ui files). But the layout looks automatically fine when create the windows "manually" and use layouts to position widgets.

      The problem is that the GU editor works with fixed pixel sizes assuming that the screen ahs about 100dpi, but each mobile device has a different screen resolution which is typically much higher than 100dpi.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SebiSebi
        wrote on last edited by
        #3

        Has someone worked with QColorDialog in a Android application? How can I resize it to fit the screen?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved