Commit 2e492a69 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Use a toolbar instead of a header for the installed page

BUG: 388720
parent 1f9ed386
import QtQuick 2.1
import QtQuick.Controls 1.1
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.1
import org.kde.discover 2.0
import org.kde.discover.app 1.0
......@@ -16,7 +16,14 @@ ApplicationsListPage {
compact: true
canNavigate: false
listHeader: Kirigami.ItemViewHeader {
maximumHeight: minimumHeight
listHeader: null
header: ToolBar {
Kirigami.Heading {
anchors {
right: parent.right
rightMargin: Kirigami.Units.smallSpacing
}
text: page.title
}
}
}
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