Important: Please read the Qt Code of Conduct -

Ui size not fit android device

  • Hello, I am currently developing an application for android.
    The mainWindow is setted correctly and fit my smartphone screen, but when I open a new window the lower part of the window is partially covered:
    alt text

    This is how I set the ui in the code and in the designer:

        uiBox->label->setText("Devices connected to " +;
        QScreen *screen = QGuiApplication::primaryScreen();

    alt text

    Moreover, as you can see from the smartphone screenshot the proportions are not respected.
    How can I solve this problem?
    Thank you for the help.

Log in to reply