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 detect and update system font size changes during runtime
Forum Updated to NodeBB v4.3 + New Features

How to detect and update system font size changes during runtime

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 320 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.
  • R Offline
    R Offline
    rmam
    wrote on 26 Jul 2022, 11:07 last edited by
    #1

    Windows 10 and Windows 11 support an accessibility feature where the OS allows changing font sizes to improve readability. See Microsoft's page on "Change the size of text in Windows".

    Does anyone know what steps do I need to follow to allow a Qt application to reflect these changes?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 26 Jul 2022, 19:00 last edited by
      #2

      Hi,

      From a quick search there seems not to be a simple API to use for that.

      This stack overflow thread might give some hints.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      26 Jul 2022, 11:07

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved