summaryrefslogtreecommitdiff
path: root/modules/drawers/Border.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-07 14:47:24 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-07 14:47:24 +1000
commite3dcdbb67cba35d90fbf5d437466d11776fe8412 (patch)
tree192e3787eb1ab45463cb27b35c595466912da4ed /modules/drawers/Border.qml
parentdashboard: make own swipeview impl (diff)
downloadcaelestia-shell-e3dcdbb67cba35d90fbf5d437466d11776fe8412.tar.gz
caelestia-shell-e3dcdbb67cba35d90fbf5d437466d11776fe8412.tar.bz2
caelestia-shell-e3dcdbb67cba35d90fbf5d437466d11776fe8412.zip
internal: move bar to drawer window
Fixes a few bugs, also removes need for hyprland order layerrule
Diffstat (limited to 'modules/drawers/Border.qml')
-rw-r--r--modules/drawers/Border.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/drawers/Border.qml b/modules/drawers/Border.qml
index 64fd7f9..9014d07 100644
--- a/modules/drawers/Border.qml
+++ b/modules/drawers/Border.qml
@@ -8,6 +8,8 @@ import QtQuick.Effects
Item {
id: root
+ required property Item bar
+
anchors.fill: parent
StyledRect {
@@ -28,6 +30,7 @@ Item {
Rectangle {
anchors.fill: parent
anchors.margins: BorderConfig.thickness
+ anchors.leftMargin: root.bar.implicitWidth
radius: BorderConfig.rounding
}
}