Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to avoid QML Drawer content scaled according to Windows display Scaling font value
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 143 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.
  • SebastianMS Offline
    SebastianMS Offline
    SebastianM
    wrote on last edited by SebastianM
    #1

    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?

    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