Add margins to the room drawer header to match Kirigami

Otherwise it sticks to the left of the drawer and looks kinda ugly.
This commit is contained in:
Joshua Goins
2024-11-15 21:53:24 -05:00
parent c27948ca3c
commit 9e90ac0412

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 : ""
}