summaryrefslogtreecommitdiff
path: root/modules/sidebar/Wrapper.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-18 20:37:00 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-18 20:37:00 +1000
commitb5b536ac8f9c63fec48a6fc252e5080de28f68d2 (patch)
tree2ed7263d8769a816ede39e81cde113881007b8b0 /modules/sidebar/Wrapper.qml
parentfeat: add sidebar (diff)
downloadcaelestia-shell-b5b536ac8f9c63fec48a6fc252e5080de28f68d2.tar.gz
caelestia-shell-b5b536ac8f9c63fec48a6fc252e5080de28f68d2.tar.bz2
caelestia-shell-b5b536ac8f9c63fec48a6fc252e5080de28f68d2.zip
sidebar: add notifs
Diffstat (limited to 'modules/sidebar/Wrapper.qml')
-rw-r--r--modules/sidebar/Wrapper.qml8
1 files changed, 5 insertions, 3 deletions
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
}
}