applet: Reset height of item label
ClosedPublic

Authored by drosca on Apr 8 2017, 7:58 AM.

Details

Summary

Fixes item label text jumping up and down when resizing applet or the
text changes.

Test Plan

Issue fixed

Diff Detail

Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
drosca created this revision.Apr 8 2017, 7:58 AM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 8 2017, 7:58 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
anthonyfieroni added inline comments.
applet/contents/ui/ListItemBase.qml
104

maximumLineCount: 1 should be added or elide will stop to work
http://doc.qt.io/qt-5/qml-qtquick-text.html#elide-prop

drosca added inline comments.Apr 8 2017, 2:22 PM
applet/contents/ui/ListItemBase.qml
104

Eliding still works though.

davidedmundson accepted this revision.May 2 2017, 11:16 AM
This revision is now accepted and ready to land.May 2 2017, 11:16 AM
This revision was automatically updated to reflect the committed changes.