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:
@@ -99,8 +99,11 @@ Kirigami.OverlayDrawer {
|
|||||||
Layout.preferredHeight: pageStack.globalToolBar.preferredHeight
|
Layout.preferredHeight: pageStack.globalToolBar.preferredHeight
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
|
spacing: 0
|
||||||
|
|
||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.leftMargin: Kirigami.Units.largeSpacing
|
||||||
text: drawerItemLoader.item ? drawerItemLoader.item.title : ""
|
text: drawerItemLoader.item ? drawerItemLoader.item.title : ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user