on xenial help sign in
elide the tileinfo labels
e3d87a1Michael Zanetti
qml/Stages/DesktopSpread.qml+3−1
@@ -220,7 +220,8 @@ FocusScope {
220 id: tileInfo
220 id: tileInfo
221 objectName: "tileInfo"
221 objectName: "tileInfo"
222 anchors { left: parent.left; top: clippedSpreadDelegate.bottom; topMargin: units.gu(5) }
222 anchors { left: parent.left; top: clippedSpreadDelegate.bottom; topMargin: units.gu(5) }
223+ property int nextItemX: spreadRepeater.count > index + 1 ? spreadRepeater.itemAt(index + 1).x : spreadDelegate.x + units.gu(30)
223− width: units.gu(30)
224+ width: Math.min(units.gu(30), nextItemX - spreadDelegate.x)
224 height: titleInfoColumn.height
225 height: titleInfoColumn.height
225 visible: false
226 visible: false
226 hoverEnabled: true
227 hoverEnabled: true
@@ -253,6 +254,7 @@ FocusScope {
253 Layout.preferredHeight: units.gu(6)
254 Layout.preferredHeight: units.gu(6)
254 text: model.name
255 text: model.name
255 wrapMode: Text.WordWrap
256 wrapMode: Text.WordWrap
257+ elide: Text.ElideRight
256 maximumLineCount: 2
258 maximumLineCount: 2
257 }
259 }
258 }
260 }