TextField ignores verticalAligment setting
Bug #1378784 reported by
Michał Sawicz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
Fix Committed
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Opinion
|
Low
|
Unassigned |
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 {
spacing: units.gu(1)
TextField {
text: "Standard TextField"
}
TextField {
height: units.gu(6)
text: "Higher TextField"
}
}
}
The text in "Higher TextField" is not centered vertically in the field.
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Christian Dywan (kalikiana) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → High |
status: | New → Triaged |
no longer affects: | ubuntu-ui-toolkit |
summary: |
- Text in TextField not aligned vertically + Text in TextField ignores verticalAligment setting |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Incomplete → Triaged |
status: | Triaged → Incomplete |
To post a comment you must log in.
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.