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. Need to fetch font size of the text which is inside the button, at runtime
Forum Updated to NodeBB v4.3 + New Features

Need to fetch font size of the text which is inside the button, at runtime

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 139 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.
  • M Offline
    M Offline
    Muktha PM
    wrote on last edited by
    #1

    I have used a button, where the text font size is readjusted based on the length of user input. I have used fontSizeMode, minimumPointSize and font.pointSize properties to auto resize the text.Now I need to fetch the font size, which varies at runtime.

    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