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

Regression: QML Text not respecting verticalAlignment property

    XMLWordPrintable

Details

    Description

      QtDeclarative checkout at 5c7225572746201cc60496530f410178cdb4283b (dev branch).

      MWE to reproduce the issue:

      import QtQuick 2.0 
      
      Rectangle {
          width: 200 
          height: 200 
      
          Text {
              anchors.fill: parent
      
              text: "Foo"
      
              horizontalAlignment: Text.AlignHCenter
              verticalAlignment: Text.AlignVCenter
          }   
      }
      

      Issue:
      Text is not aligned to the center vertically.

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            krf Kevin Funk
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes