← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1378784] Re: Text in TextField ignores verticalAligment setting

 

I'm not sure what is expected of a TextField that isn't vertically
aligned - bug 1571576 deals with alignment not being vertical by
default. If you want other alignments UX input is needed - primary and
secondary items as well as the clear button might have to follow the
alignment as well.

** Also affects: ubuntu-ux
   Importance: Undecided
       Status: New

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

** Summary changed:

- Text in TextField ignores verticalAligment setting
+ TextField ignores verticalAligment setting

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

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

-- 
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:
  New
Status in ubuntu-ui-toolkit package in Ubuntu:
  Incomplete

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