on xenial help sign in
Fix highlight position on 5.2
2012c49Albert Astals
qml/Panel/IndicatorRow.qml+1−1
@@ -137,7 +137,7 @@ Item {
137 anchors.top: row.bottom
137 anchors.top: row.bottom
138 visible: indicatorRow.currentItem != null
138 visible: indicatorRow.currentItem != null
139
139
140− property real intendedX: row.x + (indicatorRow.currentItem != null ? indicatorRow.currentItem.x + centerOffset : 0)
140+ property real intendedX: row.x + (indicatorRow.currentItem != null ? (indicatorRow.currentItem.x - row.originX) + centerOffset : 0)
141 x: intendedX >= row.x ? (intendedX + width <= row.x + row.width ? intendedX : row.x + row.width - width) : row.x // listview boundaries
141 x: intendedX >= row.x ? (intendedX + width <= row.x + row.width ? intendedX : row.x + row.width - width) : row.x // listview boundaries
142 width: indicatorRow.currentItem != null ? indicatorRow.currentItem.width : 0
142 width: indicatorRow.currentItem != null ? indicatorRow.currentItem.width : 0
143
143