Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › Qt::AA_EnableHighDpiScaling and Navigation bar height

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20409

    Marek

    Hi

    I have noticed that if I set in main.cpp

    QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

    and in Main.qml I use Navigation with NavigationItem what I see on Android telephone is top menu being unnaturally high. I mean it is 30-40% higher than normal, on some devices (dont remember the name, phone with round screen at the edges) it looks really bad like navigation menu being 2 times higher.

    I’m not sure but it looks like a bug to me because top menu is higher but icons stays the same it just creates empty space above navigation icon.

    Best,

    Marek

    #20430

    Günther
    Felgo Team

    Hi Marek,

    even before Qt introduced the Qt::AA_EnableHighDpiScaling setting, Felgo allowed to create density-independent controls and layouts using the App::dp function. You have full control over which UI elements use density-independent or e.g. responsive sizes. To avoid issues or conflicts, we thus recommend to not use the AA_EnableHighDpiScaling setting in Felgo apps.

    Best,
    Günther

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded