← Back to team overview

touch-packages team mailing list archive

[Bug 1320885] Re: TextField ignore all text placement rules

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1320885

Title:
  TextField ignore all text placement rules

Status in ubuntu-ui-toolkit package in Ubuntu:
  Invalid

Bug description:
  It has been found recently in the clock and the calculator app that
  the text placement rules are ignored and all text is placed on the
  left. This is a visual regression.

  It can be successfully reproduced using the following code,

  import QtQuick 2.0
  import Ubuntu.Components 0.1

  MainView {
      // objectName for functional testing purposes (autopilot-qt5)
      objectName: "mainView"

      // Note! applicationName needs to match the "name" field of the click manifest
      applicationName: "com.ubuntu.developer.nik90.TextFieldBug"

      width: units.gu(50)
      height: units.gu(20)

      Page {
          title: i18n.tr("Simple")

          TextField {
              id: textLabel
              text: "test"
              anchors.centerIn: parent
              horizontalAlignment: TextInput.AlignHCenter
          }
      }
  }

  As you can see the horizontalAlignment: TextInput.AlignHCenter
  assignment is ignored.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1320885/+subscriptions