← Back to team overview

touch-packages team mailing list archive

[Bug 1378784] Re: Text in TextField not aligned vertically

 

** No longer affects: ubuntu-ui-toolkit

-- 
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/1378784

Title:
  Text in TextField not aligned vertically

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Triaged

Bug description:
  Given the code:

  import QtQuick 2.2
  import Ubuntu.Components 1.1

  Rectangle {
      width: childrenRect.width + units.gu(2)
      height: childrenRect.height + units.gu(2)
      color: "darkgrey"

      Column {
          anchors.centerIn: parent
          spacing: units.gu(1)

          TextField {
              text: "Standard TextField"
          }

          TextField {
              height: units.gu(6)
              text: "Higher TextField"
              verticalAlignment: TextInput.AlignVCenter
          }
      }
  }

  The text in "Higher TextField" is not centered vertically in the
  field.

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