Commit 19cb975a authored by Marco Martin's avatar Marco Martin

make the two headers have the same exact height

parent cf3f4a84
......@@ -29,14 +29,16 @@ Kirigami.ScrollablePage {
header: Item {
width: mainColumn.width
height:searchLayout.implicitHeight + Kirigami.Units.smallSpacing*2
height:searchLayout.height + Kirigami.Units.smallSpacing * 2
RowLayout {
id: searchLayout
height: Math.max(menuButton.height, Kirigami.Units.gridUnit * 2)
anchors {
fill: parent
margins: Kirigami.Units.smallSpacing
}
QtControls.ToolButton {
id: menuButton
iconName: "application-menu"
menu: QtControls.Menu {
id: globalMenu
......
......@@ -27,10 +27,10 @@ Kirigami.ScrollablePage {
id: subCategoryColumn
header: Item {
width: subCategoryColumn.width
height: topLayout.height + Kirigami.Units.smallSpacing*2
height: topLayout.height + Kirigami.Units.smallSpacing * 2
RowLayout {
id: topLayout
height: backButton.implicitHeight
height: Math.max(backButton.height, Kirigami.Units.gridUnit * 2)
anchors {
fill: parent
margins: 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