Merge lp:~ahayzen/ubuntu-ui-toolkit/fix-swipe-delete-001 into lp:ubuntu-ui-toolkit
Proposed by
Andrew Hayzen
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Tim Peeters | ||||||||
Approved revision: | 900 | ||||||||
Merged at revision: | 916 | ||||||||
Proposed branch: | lp:~ahayzen/ubuntu-ui-toolkit/fix-swipe-delete-001 | ||||||||
Merge into: | lp:ubuntu-ui-toolkit | ||||||||
Diff against target: |
32 lines (+3/-5) 1 file modified
modules/Ubuntu/Components/ListItems/Empty.qml (+3/-5) |
||||||||
To merge this branch: | bzr merge lp:~ahayzen/ubuntu-ui-toolkit/fix-swipe-delete-001 | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Tim Peeters | Approve | ||
Review via email: mp+199906@code.launchpad.net |
Commit message
* Fixed text not aligned at vertical centre if the listitem height has changed dynamically
* Fixed no removeItemAnimation if the listitem height has been set
Description of the change
Fixed an issue with the text in the background indicator not being vertically aligned in the centre if the list item has had its height dynamically changed [1].
Fixed an issue where there is no remove animation if the height of the list item has been set.
1 - http://
To post a comment you must log in.
Both for the Image and the Label is not immediately clear to my why the changes in the anchors change something. The image has fillMode: Image.Pad, which I think should add padding above and below the icon, thus positioning it in vertical center. But anchoring in verticalCenter explicitly is better.
For the Label, it has "verticalAlignment: Text.AlignVCenter". Why doesn't that work? Perhaps text is repositioned too late (after it is shown).
Can you report the positioning issue as a bug (maybe with a small code example) to make it more clear? We'll link the bug to this MR then so that we know which issue was fixed when.
28 - property: "implicitHeight" implicitHeight"
29 + property: "height,
height should depend on implicitHeight. Why do you need it?