Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Ui size not fit android device
AndreaFurlani last edited by AndreaFurlani
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:
This is how I set the ui in the code and in the designer:
uiBox->setupUi(this); uiBox->label->setText("Devices connected to " + infoBox.name()); QScreen *screen = QGuiApplication::primaryScreen(); this->resize(screen->availableSize().width(),screen->availableSize().height()); this->showFullScreen();
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.