Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/CategoriesPage.qml
Show All 21 Lines | |||||
22 | import QtQuick.Controls 2.0 as QtControls2 | 22 | import QtQuick.Controls 2.0 as QtControls2 | ||
23 | import org.kde.kirigami 2.1 as Kirigami | 23 | import org.kde.kirigami 2.1 as Kirigami | ||
24 | 24 | | |||
25 | 25 | | |||
26 | Kirigami.ScrollablePage { | 26 | Kirigami.ScrollablePage { | ||
27 | id: mainColumn | 27 | id: mainColumn | ||
28 | Component.onCompleted: searchField.forceActiveFocus() | 28 | Component.onCompleted: searchField.forceActiveFocus() | ||
29 | 29 | | |||
30 | header: Item { | 30 | header: Rectangle { | ||
31 | color: Kirigami.Theme.backgroundColor | ||||
31 | width: mainColumn.width | 32 | width: mainColumn.width | ||
32 | height: Kirigami.Units.gridUnit * 2.5 | 33 | height: Kirigami.Units.gridUnit * 2.5 | ||
33 | RowLayout { | 34 | RowLayout { | ||
34 | id: searchLayout | 35 | id: searchLayout | ||
35 | spacing: Kirigami.Units.smallSpacing | 36 | spacing: Kirigami.Units.smallSpacing | ||
36 | anchors { | 37 | anchors { | ||
37 | fill: parent | 38 | fill: parent | ||
38 | margins: Kirigami.Units.smallSpacing | 39 | margins: Kirigami.Units.smallSpacing | ||
▲ Show 20 Lines • Show All 163 Lines • Show Last 20 Lines |