Commit d4d2115d authored by camilo higuita's avatar camilo higuita

quick fixes

parent 18a0dbf0
......@@ -110,15 +110,22 @@ Maui.ApplicationWindow
globalDrawer: Maui.GlobalDrawer
{
id: _drawer
width: Math.min(Kirigami.Units.gridUnit * 11, root.width)
handleClosedIcon.source: "view-right-new"
handleOpenIcon.source: "view-right-new"
property bool collapsed : !root.isWide
width: collapsed ? placesSidebar.iconSize * 2.5 : Math.min(Kirigami.Units.gridUnit * 11, root.width)
// handleClosedIcon.source: "view-right-new"
// handleOpenIcon.source: "view-right-new"
height: root.height - root.header.height - (browser.headBar.position === ToolBar.Footer && _drawer.modal ? browser.footer.height : 0)
modal: !root.isWide
handleVisible: modal
modal: false
handleVisible: false
contentItem: Maui.PlacesSidebar
{
id: placesSidebar
property bool collapsed : !root.isWide
showLabels: !collapsed
section.property: collapsed ? "" : "type"
ScrollBar.vertical.policy: collapsed ? ScrollBar.AlwaysOff : ScrollBar.AlwaysOn
// height: _drawer.height
anchors.fill: parent
onPlaceClicked:
......
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