Commit 2a0de3b7 authored by Marco Martin's avatar Marco Martin
Browse files

always first item highlighted in tileview too

parent 481ece83
......@@ -82,10 +82,10 @@ FocusScope {
snapMode: ListView.SnapToItem
cacheBuffer: width
implicitHeight: cellHeight
rightMargin: width-cellWidth*3
rightMargin: width-cellWidth
property int cellWidth: (Kirigami.Units.iconSizes.huge + Kirigami.Units.largeSpacing*4)
property int cellHeight: cellWidth + units.gridUnit * 3
preferredHighlightBegin: cellWidth
preferredHighlightBegin: 0
preferredHighlightEnd: cellWidth
displayMarginBeginning: cellWidth
displayMarginEnd: cellWidth
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment