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. Ui size not fit android device
Forum Updated to NodeBB v4.3 + New Features

Ui size not fit android device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 249 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.
  • A Offline
    A Offline
    AndreaFurlani
    wrote on last edited by AndreaFurlani
    #1

    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->setupUi(this);
        uiBox->label->setText("Devices connected to " + infoBox.name());
        QScreen *screen = QGuiApplication::primaryScreen();
        this->resize(screen->availableSize().width(),screen->availableSize().height());
        this->showFullScreen();
    

    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.

    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