← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1378784] Re: TextField ignores verticalAligment setting

 

For the record, what I just clarified in an IRC discussion with Rae:

- Right now verticalAlignment doesn't affect anything.
- There's no known real life user.
- No designs make use of custom alignments - it's not desired.

So we just need to decide:

1) To deprecate it officially.
2) To leave the bug open indefinitely - I don't see a trivial fix and if nobody's using it spending a lot of time on that seems questionable.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: High => Low

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

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: Christian Dywan (kalikiana) => (unassigned)

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

Title:
  TextField ignores verticalAligment setting

Status in Ubuntu UX:
  Fix Committed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Opinion

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-ux/+bug/1378784/+subscriptions