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

Wrong type of font.weight property in Qt Quick

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      a43a0cf5e626c08868951096b8549d804192f79e (qt/qtdeclarative/dev)

      Description

      The font.weight property in Qt Quick was set to be an enumeration, so it can only represent the font weight values we have decided to enumerate.

      This makes it impossible to select certain fonts (Roboto Thin for instance), when they have weights that fall too close to a font in the same family with a weight that is actually enumerated.

      In Qt 6 we should fix the type to be an int, like in QFont. Hopefully this can be done in a fully source compatible way.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-80402
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes