Commit 1e18d69f authored by Marco Martin's avatar Marco Martin

make sure the top toolbar always matches with header area

parent fc3d0ff4
......@@ -32,6 +32,8 @@ Kirigami.ScrollablePage {
bottomPadding: Kirigami.Units.smallSpacing
leftPadding: Kirigami.Units.smallSpacing
rightPadding: Kirigami.Units.smallSpacing
//slightly hacky to be sure to always match with the kcm area
preferredHeight: menuButton.implicitHeight + topPadding + bottomPadding
Binding {
target: systemsettings
......@@ -40,6 +42,7 @@ Kirigami.ScrollablePage {
}
contentItem: RowLayout {
id: toolBarLayout
anchors.fill: parent
spacing: Kirigami.Units.smallSpacing
......
......@@ -32,6 +32,7 @@ Kirigami.ScrollablePage {
bottomPadding: Kirigami.Units.smallSpacing
leftPadding: Kirigami.Units.smallSpacing
rightPadding: Kirigami.Units.smallSpacing
preferredHeight: toolBarLayout.implicitHeight + topPadding + bottomPadding
background: MouseArea {
anchors.fill: parent
......@@ -40,6 +41,7 @@ Kirigami.ScrollablePage {
}
contentItem: RowLayout {
id: toolBarLayout
anchors.fill: parent
spacing: Kirigami.Units.smallSpacing
......
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