Commit e965aefb authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Improve initial height

Since we added all of the categories to the global drawer's root view,
we show a scrollbar there by default that is rather ugly. This makes it
slightly bigger by default.
parent a02db149
Pipeline #207256 passed with stage
in 1 minute and 4 seconds
......@@ -24,6 +24,7 @@ Kirigami.GlobalDrawer {
width: Kirigami.Units.gridUnit * 14
property bool wideScreen: false
readonly property real minimumHeight: header.implicitHeight + content.height + footer.implicitHeight
resetMenuOnTriggered: false
......
......@@ -23,7 +23,7 @@ Kirigami.ApplicationWindow
title: leftPage ? leftPage.title : ""
width: app.initialGeometry.width>=10 ? app.initialGeometry.width : Kirigami.Units.gridUnit * 45
height: app.initialGeometry.height>=10 ? app.initialGeometry.height : Kirigami.Units.gridUnit * 30
height: app.initialGeometry.height>=10 ? app.initialGeometry.height : Math.max(Kirigami.Units.gridUnit * 30, window.globalDrawer.contentHeight)
visible: true
......
Supports Markdown
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