@@ -42,13 +42,10 @@ PlasmaExtras.ScrollArea {
42
42
43
43
property bool grabFocus: false
44
44
property bool showDescriptions: false
45
- property bool square: false
46
45
property int iconSize: units .iconSizes .medium
47
46
48
47
property alias model: repeater .model
49
48
property alias count: repeater .count
50
- property int cellWidth: parent .width
51
- property int cellHeight: iconSize + (2 * highlightItemSvg .margins .top )
52
49
53
50
// clip: true
54
51
verticalScrollBarPolicy: Qt .ScrollBarAsNeeded
@@ -112,7 +109,7 @@ PlasmaExtras.ScrollArea {
112
109
PlasmaExtras .Heading {
113
110
id: gridViewLabel
114
111
anchors .top : parent .top
115
- anchors .topMargin : 10
112
+ // anchors.topMargin: 8
116
113
x: units .smallSpacing
117
114
width: parent .width - x
118
115
height: dummyHeading .height
@@ -138,19 +135,18 @@ PlasmaExtras.ScrollArea {
138
135
top: gridViewLabel .bottom
139
136
topMargin: units .smallSpacing
140
137
}
141
- square: itemMultiGrid .square
142
- showDescriptions: itemMultiGrid .showDescriptions
143
- increaseLeftSpacings: true
138
+
144
139
// TODO >
145
140
dragEnabled: false
146
141
dropEnabled: false
142
+ showDescriptions: itemMultiGrid .showDescriptions
147
143
// <
148
144
149
145
width: parent .width
150
146
height: Math .ceil (count * cellHeight)
151
- cellWidth: itemMultiGrid . cellWidth
152
- cellHeight: itemMultiGrid . cellHeight
153
- iconSize: itemMultiGrid .iconSize
147
+ cellWidth: parent . width
148
+ cellHeight: root . iconSize + ( 2 * highlightItemSvg . margins . top ) // <>cellSize
149
+ iconSize: root .iconSize
154
150
model: repeater .model .modelForRow (index)
155
151
156
152
onFocusChanged: {
0 commit comments