Fix left padding for "Rooms" label in the room list
This now emulates the default Kirigami heading behavior now, with the correct amount of padding.
This commit is contained in:
@@ -26,6 +26,8 @@ RowLayout {
|
|||||||
|
|
||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
// Roughly equivalent to what Kirigami does for its built-in headings
|
||||||
|
Layout.leftMargin: Kirigami.Units.gridUnit - Kirigami.Units.mediumSpacing
|
||||||
visible: !root.collapsed
|
visible: !root.collapsed
|
||||||
text: i18nc("@title", "Rooms")
|
text: i18nc("@title", "Rooms")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user