clip settings at bar bounds

This commit is contained in:
2026-07-07 18:47:48 +02:00
parent 2db6a57c0b
commit ffefd3e202
5 changed files with 6 additions and 20 deletions
+3 -7
View File
@@ -184,18 +184,14 @@ Item {
Item {
id: settingsWrapper
anchors.fill: parent
clip: true
implicitHeight: settings.implicitHeight
implicitWidth: settings.implicitWidth
x: (root.width - settings.implicitWidth) / 2
y: (settings.implicitHeight + (root.height - root.bar.implicitHeight - settings.implicitHeight) / 2) * (1 - settings.offsetScale) - settings.implicitHeight - 5
Settings.Wrapper {
id: settings
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
// anchors.centerIn: parent
anchors.centerIn: parent
anchors.verticalCenterOffset: (-implicitHeight - 5 - ((root.height - implicitHeight) / 2)) * offsetScale
panels: root
screen: root.screen
visibilities: root.visibilities