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

Wrong type of font.weight property in Qt Quick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.0
    • 5.14.0 Beta3
    • Quick: Other
    • None
    • All
    • a43a0cf5e626c08868951096b8549d804192f79e (qt/qtdeclarative/dev)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes