Add margins to the room drawer header to match Kirigami

Otherwise it sticks to the left of the drawer and looks kinda ugly.

(cherry picked from commit 9e90ac0412)
This commit is contained in:
Joshua Goins
2024-11-15 21:53:24 -05:00
parent 3b12520fa2
commit fd31b4fb74

View File

@@ -99,8 +99,11 @@ Kirigami.OverlayDrawer {
Layout.preferredHeight: pageStack.globalToolBar.preferredHeight
contentItem: RowLayout {
spacing: 0
Kirigami.Heading {
Layout.fillWidth: true
Layout.leftMargin: Kirigami.Units.largeSpacing
text: drawerItemLoader.item ? drawerItemLoader.item.title : ""
}