Commit 4576284c authored by Nate Graham's avatar Nate Graham
Browse files

[sidebar] Add missing subcategory header spacing for widescreen view

BUG: 438377
FIXED-IN: 5.22.1
(cherry picked from commit 5f46b35b)
parent 0ea21d35
......@@ -65,6 +65,7 @@ Kirigami.ScrollablePage {
icon.name: LayoutMirroring.enabled ? "go-previous-symbolic-rtl" : "go-previous-symbolic"
}
Kirigami.Icon {
id: backIcon
visible: !applicationWindow().wideScreen
source: LayoutMirroring.enabled ? "go-previous-symbolic-rtl" : "go-previous-symbolic"
Layout.preferredWidth: buttonSizePlaceholder.implicitWidth
......@@ -75,6 +76,7 @@ Kirigami.ScrollablePage {
Kirigami.Heading {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.leftMargin: backIcon.visible ? 0 : Kirigami.Units.smallSpacing
// Don't be too short when the back button isn't visible
Layout.minimumHeight: buttonSizePlaceholder.implicitHeight
level: 3
......
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