Commit dda77f87 authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Disabled clickable elements in sidebar when sidebar is collapsed

parent 31b175e0
Pipeline #93305 canceled with stage
......@@ -334,6 +334,7 @@ Kirigami.OverlayDrawer {
delegate: Kirigami.BasicListItem {
Layout.fillWidth: true
enabled: !sidebar.collapsed
label: display
labelItem.color: Kirigami.Theme.textColor
......@@ -388,6 +389,7 @@ Kirigami.OverlayDrawer {
topPadding: 2 * Kirigami.Units.largeSpacing
leftPadding: Kirigami.Settings.isMobile ? Kirigami.Units.largeSpacing * 2 : Kirigami.Units.largeSpacing
hoverEnabled: false
enabled: !sidebar.collapsed
background: Item {}
separatorVisible: false
......@@ -419,6 +421,7 @@ Kirigami.OverlayDrawer {
leftPadding: Kirigami.Settings.isMobile ? Kirigami.Units.largeSpacing * 2 : Kirigami.Units.largeSpacing
separatorVisible: false
reserveSpaceForIcon: true
enabled: !sidebar.collapsed
trailing: ColoredCheckbox {
id: calendarCheckbox
......
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