Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. resizable layout based on default font size
QtWS25 Last Chance

resizable layout based on default font size

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlqtquickqtquick controlfontresize
1 Posts 1 Posters 949 Views
  • 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.
  • randsfjordenR Offline
    randsfjordenR Offline
    randsfjorden
    wrote on last edited by
    #1

    Dear Qt-Community,
    I wrote a qml-app with a completely resizable layout. The size of the layout is based on the default size of the default qml-font. What I'd like to know is, what the default qml-font-size is based on. I noticed, that when I increase the size of texts and elements in Windows (can increase it to 125% or 150%), the default qml-font-size doesn't change. A QWidgets-application resizes according to this value, as all windows widgets do. I noticed the same on Android.

    Is there a way to find out the system's default font size in qml? With that value, I could make the layout adapt exactly to the size the user wants in all other applications as well. I think that is maybe something other developers could need, too.

    Greetings - and thank you very much in advance!

    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