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. Windows 10 - Adjust Container with Text Size
Forum Updated to NodeBB v4.3 + New Features

Windows 10 - Adjust Container with Text Size

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 531 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.
  • M Offline
    M Offline
    maximus
    wrote on last edited by
    #1

    I have the following Interface on normal text size on Windows 10:
    https://www.dropbox.com/s/ywwu1aj1h20n7ad/normalSize.png?dl=0

    When the new Windows option "Make app 150% text bigger", it shows like this:
    https://www.dropbox.com/s/o5a1kmg9k84zfvz/sizeText.png?dl=0

    A lot of text go out of scope of the container they are using (QLabel, QPushButton, QHeaderView title) for example.
    Is there a way to specify theses elements to use the minimum size to show the text? I have tried with MinimumExpending size policy, but usually that make it takes all the parent container space.

    What I would like is to specify the Container (QLabel, QPushButton,..) to only take the space necessary to show the text at the current System font size.
    Thanks!


    Free Indoor Cycling Software - https://maximumtrainer.com

    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