From b5b536ac8f9c63fec48a6fc252e5080de28f68d2 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 18 Sep 2025 20:37:00 +1000 Subject: sidebar: add notifs --- modules/sidebar/Wrapper.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'modules/sidebar/Wrapper.qml') diff --git a/modules/sidebar/Wrapper.qml b/modules/sidebar/Wrapper.qml index ddbb39c..9303c6b 100644 --- a/modules/sidebar/Wrapper.qml +++ b/modules/sidebar/Wrapper.qml @@ -9,10 +9,10 @@ Item { required property var visibilities required property var panels + readonly property Props props: Props {} visible: width > 0 implicitWidth: 0 - implicitHeight: 0 states: State { name: "visible" @@ -51,15 +51,17 @@ Item { id: content anchors.top: parent.top + anchors.bottom: parent.bottom anchors.left: parent.left - anchors.right: parent.right anchors.margins: Appearance.padding.large + anchors.bottomMargin: 0 - visible: false active: true Component.onCompleted: active = Qt.binding(() => (root.visibilities.sidebar && Config.sidebar.enabled) || root.visible) sourceComponent: Content { + implicitWidth: Config.sidebar.sizes.width - Appearance.padding.large * 2 + props: root.props visibilities: root.visibilities } } -- cgit v1.2.3-freya