This commit is contained in:
Zacharias-Brohn
2026-02-16 18:54:36 +01:00
parent b77e728313
commit ded3ab06df
12 changed files with 903 additions and 46 deletions
+11 -1
View File
@@ -6,6 +6,7 @@ import qs.Modules.Notifications as Notifications
import qs.Modules.Notifications.Sidebar as Sidebar
import qs.Modules.Notifications.Sidebar.Utils as Utils
import qs.Modules.Dashboard as Dashboard
import qs.Modules.Osd as Osd
Shape {
id: root
@@ -16,9 +17,18 @@ Shape {
anchors.fill: parent
// anchors.margins: 8
anchors.topMargin: !root.visibilities.bar ? 4 : bar.implicitHeight
anchors.topMargin: bar.implicitHeight
preferredRendererType: Shape.CurveRenderer
Component.onCompleted: console.log(root.bar.implicitHeight, root.bar.anchors.topMargin)
Osd.Background {
wrapper: root.panels.osd
startX: root.width - root.panels.sidebar.width
startY: ( root.height - wrapper.height ) / 2 - rounding
}
Modules.Background {
wrapper: root.panels.popouts
invertBottomRounding: wrapper.x <= 0