Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/ListItemBase.qml
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Line(s) | 95 | ColumnLayout { | |||
---|---|---|---|---|---|
97 | spacing: 1 | 97 | spacing: 1 | ||
98 | 98 | | |||
99 | RowLayout { | 99 | RowLayout { | ||
100 | Layout.fillWidth: true | 100 | Layout.fillWidth: true | ||
101 | 101 | | |||
102 | PlasmaExtras.Heading { | 102 | PlasmaExtras.Heading { | ||
103 | id: textLabel | 103 | id: textLabel | ||
104 | Layout.fillWidth: true | 104 | Layout.fillWidth: true | ||
105 | height: undefined | ||||
anthonyfieroni: maximumLineCount: 1 should be added or elide will stop to work
http://doc.qt.io/qt-5/qml… | |||||
drosca: Eliding still works though. | |||||
105 | level: 5 | 106 | level: 5 | ||
106 | opacity: 0.6 | 107 | opacity: 0.6 | ||
107 | wrapMode: Text.NoWrap | 108 | wrapMode: Text.NoWrap | ||
108 | elide: Text.ElideRight | 109 | elide: Text.ElideRight | ||
109 | } | 110 | } | ||
110 | SmallToolButton { | 111 | SmallToolButton { | ||
111 | id: contextMenuButton | 112 | id: contextMenuButton | ||
112 | icon: "application-menu" | 113 | icon: "application-menu" | ||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |
maximumLineCount: 1 should be added or elide will stop to work
http://doc.qt.io/qt-5/qml-qtquick-text.html#elide-prop