Application layout on Android device



  • 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!



  • 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.



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.