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

Button: mis-aligned text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7.0
    • Quick: Controls 2
    • None
    • qtdeclarative 79cfc8788d6267eeb263983466ba21758f618dcd

    Description

      Steps:
      1) press the button
      2) release the button
      3) => mis-aligned text

      import QtQuick 2.3
      import QtQuick.Window 2.2
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          width: 200
          height: 200
          visible: true
      
          Button {
              anchors.centerIn: parent
              text: !pressed ? "press me" : "something a bit longer"
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              jpnurmi J-P Nurmi
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes