oops lol
This commit is contained in:
+11
-9
@@ -8,7 +8,8 @@ import qs.Modules.Notifications.Sidebar.Utils as Utils
|
|||||||
import qs.Modules.Dashboard as Dashboard
|
import qs.Modules.Dashboard as Dashboard
|
||||||
import qs.Modules.Osd as Osd
|
import qs.Modules.Osd as Osd
|
||||||
import qs.Modules.Launcher as Launcher
|
import qs.Modules.Launcher as Launcher
|
||||||
import qs.Modules.Settings as Settings
|
|
||||||
|
// import qs.Modules.Settings as Settings
|
||||||
|
|
||||||
Shape {
|
Shape {
|
||||||
id: root
|
id: root
|
||||||
@@ -22,7 +23,8 @@ Shape {
|
|||||||
anchors.topMargin: bar.implicitHeight
|
anchors.topMargin: bar.implicitHeight
|
||||||
preferredRendererType: Shape.CurveRenderer
|
preferredRendererType: Shape.CurveRenderer
|
||||||
|
|
||||||
Component.onCompleted: console.log(root.bar.implicitHeight, root.bar.anchors.topMargin)
|
Component.onCompleted: console.log(root.bar.implicitHeight,
|
||||||
|
root.bar.anchors.topMargin)
|
||||||
|
|
||||||
Osd.Background {
|
Osd.Background {
|
||||||
startX: root.width - root.panels.sidebar.width
|
startX: root.width - root.panels.sidebar.width
|
||||||
@@ -72,11 +74,11 @@ Shape {
|
|||||||
wrapper: root.panels.sidebar
|
wrapper: root.panels.sidebar
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings.Background {
|
// Settings.Background {
|
||||||
id: settings
|
// id: settings
|
||||||
|
//
|
||||||
startX: (root.width - wrapper.width) / 2 - rounding
|
// startX: (root.width - wrapper.width) / 2 - rounding
|
||||||
startY: 0
|
// startY: 0
|
||||||
wrapper: root.panels.settings
|
// wrapper: root.panels.settings
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
+12
-11
@@ -9,7 +9,7 @@ import qs.Modules.Dashboard as Dashboard
|
|||||||
import qs.Modules.Osd as Osd
|
import qs.Modules.Osd as Osd
|
||||||
import qs.Components.Toast as Toasts
|
import qs.Components.Toast as Toasts
|
||||||
import qs.Modules.Launcher as Launcher
|
import qs.Modules.Launcher as Launcher
|
||||||
import qs.Modules.Settings as Settings
|
// import qs.Modules.Settings as Settings
|
||||||
import qs.Config
|
import qs.Config
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
@@ -22,7 +22,7 @@ Item {
|
|||||||
readonly property alias osd: osd
|
readonly property alias osd: osd
|
||||||
readonly property alias popouts: popouts
|
readonly property alias popouts: popouts
|
||||||
required property ShellScreen screen
|
required property ShellScreen screen
|
||||||
readonly property alias settings: settings
|
// readonly property alias settings: settings
|
||||||
readonly property alias sidebar: sidebar
|
readonly property alias sidebar: sidebar
|
||||||
readonly property alias toasts: toasts
|
readonly property alias toasts: toasts
|
||||||
readonly property alias utilities: utilities
|
readonly property alias utilities: utilities
|
||||||
@@ -30,7 +30,8 @@ Item {
|
|||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
// anchors.margins: 8
|
// anchors.margins: 8
|
||||||
anchors.topMargin: Config.barConfig.autoHide && !visibilities.bar ? 0 : bar.implicitHeight
|
anchors.topMargin: Config.barConfig.autoHide && !visibilities.bar ? 0 :
|
||||||
|
bar.implicitHeight
|
||||||
|
|
||||||
Behavior on anchors.topMargin {
|
Behavior on anchors.topMargin {
|
||||||
Anim {
|
Anim {
|
||||||
@@ -117,12 +118,12 @@ Item {
|
|||||||
visibilities: root.visibilities
|
visibilities: root.visibilities
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings.Wrapper {
|
// Settings.Wrapper {
|
||||||
id: settings
|
// id: settings
|
||||||
|
//
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
// anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: parent.top
|
// anchors.top: parent.top
|
||||||
panels: root
|
// panels: root
|
||||||
visibilities: root.visibilities
|
// visibilities: root.visibilities
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user