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

Warning on specifying the point size of TextField

    XMLWordPrintable

Details

    • macOS, Windows
    • 43eca45b061fe965fe2a6f1876d4a35a58e3a9e4, ebe36ea115795af79f10310aa624b57b25ea694a

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes