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

TextInput's text drawn with less character spacing than Text's text

XMLWordPrintable

      Run the code below. Press the mouse button and note that the TextInput's
      text is drawn with less character spacing than the Text element's text.

      import QtQuick 2.0
      
      Rectangle {
          width: 400; height: 200
          Text {
              anchors.centerIn: parent
              text: "Press the mouse button and see the text move"
              visible: !mouseArea.pressed
          }
      
          TextInput {
              anchors.centerIn: parent
              text: "Press the mouse button and see the text move"
              visible: mouseArea.pressed
          }
      
          MouseArea {
              id: mouseArea
              anchors.fill: parent
          }
      }
      

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

            esabraha Eskil Abrahamsen Blomfeldt
            mathiasm Mathias Malmqvist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes