Commit 6c1c0b52 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Nate Graham
Browse files

DiscoverWindow: Let the left component grow a bit with the window

If the window gets too wide, let the column take 25% of the width.

BUG: 432844
parent f4d4b641
Pipeline #193880 passed with stage
in 1 minute and 38 seconds
......@@ -30,7 +30,7 @@ Kirigami.ApplicationWindow
minimumWidth: 300
minimumHeight: 300
pageStack.defaultColumnWidth: Kirigami.Units.gridUnit * 25
pageStack.defaultColumnWidth: Math.max(Kirigami.Units.gridUnit * 25, pageStack.width / 4)
pageStack.globalToolBar.style: Kirigami.Settings.isMobile ? Kirigami.ApplicationHeaderStyle.Titles : Kirigami.ApplicationHeaderStyle.Auto
pageStack.globalToolBar.showNavigationButtons: pageStack.currentIndex == 0 ? Kirigami.ApplicationHeaderStyle.None : Kirigami.ApplicationHeaderStyle.ShowBackButton
pageStack.globalToolBar.canContainHandles: true // mobile handles in header
......
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