Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/package/contents/ui/MenuRepresentation.qml
Show First 20 Lines • Show All 174 Lines • ▼ Show 20 Line(s) | 173 | ItemListView { | |||
---|---|---|---|---|---|
175 | 175 | | |||
176 | anchors.top: parent.top | 176 | anchors.top: parent.top | ||
177 | 177 | | |||
178 | minimumWidth: root.Layout.minimumWidth - sideBar.width - mainRow.spacing | 178 | minimumWidth: root.Layout.minimumWidth - sideBar.width - mainRow.spacing | ||
179 | height: ((rootModel.count - rootModel.separatorCount) * itemHeight) + (rootModel.separatorCount * separatorHeight) | 179 | height: ((rootModel.count - rootModel.separatorCount) * itemHeight) + (rootModel.separatorCount * separatorHeight) | ||
180 | 180 | | |||
181 | visible: (searchField.text == "") | 181 | visible: (searchField.text == "") | ||
182 | 182 | | |||
183 | iconsEnabled: false | 183 | iconsEnabled: plasmoid.configuration.showIconsRootLevel | ||
184 | 184 | | |||
185 | model: rootModel | 185 | model: rootModel | ||
186 | 186 | | |||
187 | onKeyNavigationAtListEnd: { | 187 | onKeyNavigationAtListEnd: { | ||
188 | searchField.focus = true; | 188 | searchField.focus = true; | ||
189 | } | 189 | } | ||
190 | 190 | | |||
191 | states: [ State { | 191 | states: [ State { | ||
▲ Show 20 Lines • Show All 249 Lines • Show Last 20 Lines |