Changeset View
Changeset View
Standalone View
Standalone View
applets/kickoff/package/contents/ui/KickoffItem.qml
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Line(s) | 195 | anchors { | |||
---|---|---|---|---|---|
198 | right: arrow.left | 198 | right: arrow.left | ||
199 | leftMargin: units.gridUnit | 199 | leftMargin: units.gridUnit | ||
200 | rightMargin: units.gridUnit * 2 | 200 | rightMargin: units.gridUnit * 2 | ||
201 | } | 201 | } | ||
202 | height: paintedHeight | 202 | height: paintedHeight | ||
203 | // TODO: games should always show the by name! | 203 | // TODO: games should always show the by name! | ||
204 | text: model.display | 204 | text: model.display | ||
205 | elide: Text.ElideRight | 205 | elide: Text.ElideRight | ||
206 | horizontalAlignment: Text.AlignLeft | ||||
206 | } | 207 | } | ||
207 | PlasmaComponents.Label { | 208 | PlasmaComponents.Label { | ||
208 | id: subTitleElement | 209 | id: subTitleElement | ||
209 | 210 | | |||
210 | anchors { | 211 | anchors { | ||
211 | left: titleElement.left | 212 | left: titleElement.left | ||
212 | right: arrow.left | 213 | right: arrow.left | ||
213 | rightMargin: units.gridUnit * 2 | 214 | rightMargin: units.gridUnit * 2 | ||
214 | top: titleElement.bottom | 215 | top: titleElement.bottom | ||
215 | } | 216 | } | ||
216 | height: paintedHeight | 217 | height: paintedHeight | ||
217 | 218 | | |||
218 | text: model.description | 219 | text: model.description | ||
219 | opacity: isCurrent ? 0.8 : 0.6 | 220 | opacity: isCurrent ? 0.8 : 0.6 | ||
220 | font.pointSize: theme.smallestFont.pointSize | 221 | font.pointSize: theme.smallestFont.pointSize | ||
221 | elide: Text.ElideMiddle | 222 | elide: Text.ElideMiddle | ||
223 | horizontalAlignment: Text.AlignLeft | ||||
222 | } | 224 | } | ||
223 | 225 | | |||
224 | PlasmaCore.SvgItem { | 226 | PlasmaCore.SvgItem { | ||
225 | id: arrow | 227 | id: arrow | ||
226 | 228 | | |||
227 | anchors { | 229 | anchors { | ||
228 | right: parent.right | 230 | right: parent.right | ||
229 | rightMargin: units.gridUnit * 2 | 231 | rightMargin: units.gridUnit * 2 | ||
Show All 26 Lines |