on xenial help sign in
Fixing the vertical position of desktop spread item icon.
commit76c771ea545affb6762eb0ca59c909bf9c4f0fd1 authorVesa Rautiainen <vesa.rautiainen@canonical.com> dateThu 21 Jan 2016, 17:23 (11 years ago) parente2e7e7d
1 file changed+5−1
qml/Stages/DesktopSpread.qml+5−1
qml/Stages/DesktopSpread.qml+5−1
@@ -240,7 +240,11 @@ FocusScope {
240240 MouseArea {
241241 id: tileInfo
242242 objectName: "tileInfo"
243− anchors { left: parent.left; top: clippedSpreadDelegate.bottom; topMargin: units.gu(5) }
243+ anchors {
244+ left: parent.left
245+ top: clippedSpreadDelegate.bottom
246+ topMargin: ((spreadMaths.sceneHeight - spreadDelegate.y) - clippedSpreadDelegate.height) * 0.2
247+ }
244248 property int nextItemX: spreadRepeater.count > index + 1 ? spreadRepeater.itemAt(index + 1).x : spreadDelegate.x + units.gu(30)
245249 width: Math.min(units.gu(30), nextItemX - spreadDelegate.x)
246250 height: titleInfoColumn.height