Commit b13ea3be authored by Nate Graham's avatar Nate Graham 🔩

[emoji selector] Add header to sidebar

parent 2cb4ef4d
......@@ -91,11 +91,25 @@ Kirigami.ApplicationWindow
globalDrawer: Kirigami.GlobalDrawer {
id: drawer
title: i18n("Categories")
collapsible: !topContent.activeFocus
collapsed: true
modal: false
header: Kirigami.AbstractApplicationHeader {
topPadding: Kirigami.Units.smallSpacing
bottomPadding: Kirigami.Units.smallSpacing
leftPadding: Kirigami.Units.largeSpacing
rightPadding: Kirigami.Units.smallSpacing
Kirigami.Heading {
level: 1
text: drawer.title
Layout.fillWidth: true
}
}
Instantiator {
model: emoji.categories
CategoryAction {
......
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