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

Warning on specifying the point size of TextField

XMLWordPrintable

    • macOS, Windows
    • 43eca45b061fe965fe2a6f1876d4a35a58e3a9e4, ebe36ea115795af79f10310aa624b57b25ea694a

      When point size is specified to TextField, following warning is generated.

      Both point size and pixel size set. Using pixel size.
      

      Code is like:

          TextField {
              text: "24"
              font.pointSize: 24
              anchors.centerIn: parent
          }
      

      Issue is seen with 6.2.0 and is working fine with 5.15.x. Workaround is to set pixelSize to 0 explicitly.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            shmittal Shveta Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes