Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Screen.pixelDensity vs. Screen.logicalPixelDensity
Forum Updated to NodeBB v4.3 + New Features

Screen.pixelDensity vs. Screen.logicalPixelDensity

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 443 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.
  • U Offline
    U Offline
    Uwe Koehler
    wrote on last edited by
    #1

    Hi folks,

    I have been looking at papyros/qml-material and found the fonts quite small. Looking deeper into the problem I wrote a small project showing 10 mm square rectangles on the screen based on Screen.pixelDensity and Screen.logicalPixelDensity. Now I am completely confused:

    Windows: Screen.logicalPixelDensity is correct
    Linux: almost the same both visually correct
    Android: Sreen.pixelDensity is correct (Moto G 1 Gen)

    Could anybody help me, please?

    Many thanks in advance.

    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