Important: Please read the Qt Code of Conduct -

How to avoid QML Drawer content scaled according to Windows display Scaling font value

  • Hi,
    I'm using drawer with buttons and text inside. Font size is set with pixelSize
    I've noticed that when application window is on monitor where Windows scaling feature is active with value 150% or more - text and whole drawer content is scaled up. Text looks too big.
    When I move app to other monitor (where no scaling is set) content looks correctly.
    Changing pixelSize to pointSize doesn't help. It makes fonts even bigger.

    Other text elements (not inside drawer) looks correctly.

    How can I avoid this problem? How to solve it?

Log in to reply