Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51133

Be able to determine which font size is actually being used when Text.fontSizeMode is effectiveSize

    XMLWordPrintable

    Details

    • Commits:
      659d5202f915b84bd22b618b0696bbe68ab4b6b0

      Description

      Be able to determine which font size is actually being used when Text.fontSizeMode is effectiveSize. This is useful to know because if you need to use the same size elsewhere for other purposes, and it is not possible to just replicate the same dimensions (since there may be more lines in use in the other case) then being able to determine which font size is actually used would be useful here.

      Something like effectiveFontPointSize as a read-only property would be ideal as pointSize/pixelSize only give the maximum possible font size and not the one actually used.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes