Important: Please read the Qt Code of Conduct -

Screen.pixelDensity vs. Screen.logicalPixelDensity

  • 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.

Log in to reply