quickshell: fix panelwindow size deprecation warnings

This commit is contained in:
end-4
2025-05-13 21:53:13 +02:00
parent d5eee84c87
commit 18356feab7
9 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ Scope {
anchors.top: true
margins.top: 0
width: rect.width + shadow.radius * 2
height: rect.height + shadow.radius * 2
implicitWidth: rect.width + shadow.radius * 2
implicitHeight: rect.height + shadow.radius * 2
// color blending is a bit odd as detailed in the type reference.
color: "transparent"
+1 -1
View File
@@ -30,7 +30,7 @@ Scope {
screen: modelData
WlrLayershell.namespace: "quickshell:bar"
height: barHeight + Appearance.rounding.screenRounding
implicitHeight: barHeight + Appearance.rounding.screenRounding
exclusiveZone: showBarBackground ? barHeight : (barHeight - 4)
mask: Region {
item: barContent
@@ -39,7 +39,7 @@ Scope {
}
color: "transparent"
width: Appearance.sizes.notificationPopupWidth
implicitWidth: Appearance.sizes.notificationPopupWidth
// Signal handlers to add/remove notifications
Connections {
@@ -63,8 +63,8 @@ Scope {
item: osdValuesWrapper
}
width: columnLayout.implicitWidth
height: columnLayout.implicitHeight
implicitWidth: columnLayout.implicitWidth
implicitHeight: columnLayout.implicitHeight
visible: showOsdValues
ColumnLayout {
@@ -67,8 +67,8 @@ Scope {
item: osdValuesWrapper
}
width: columnLayout.implicitWidth
height: columnLayout.implicitHeight
implicitWidth: columnLayout.implicitWidth
implicitHeight: columnLayout.implicitHeight
visible: showOsdValues
ColumnLayout {
@@ -68,8 +68,8 @@ Scope {
}
}
width: columnLayout.width
height: columnLayout.height
implicitWidth: columnLayout.width
implicitHeight: columnLayout.height
ColumnLayout {
id: columnLayout
@@ -37,8 +37,8 @@ Scope {
right: true
}
width: modelData.width
height: modelData.height
implicitWidth: modelData.width
implicitHeight: modelData.height
HyprlandFocusGrab {
id: grab
@@ -37,7 +37,7 @@ Scope { // Scope
screen: modelData
exclusiveZone: 0
width: Appearance.sizes.sidebarWidthExtended
implicitWidth: Appearance.sizes.sidebarWidthExtended
WlrLayershell.namespace: "quickshell:sidebarLeft"
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
color: "transparent"
@@ -34,7 +34,7 @@ Scope {
screen: modelData
exclusiveZone: 0
width: sidebarWidth
implicitWidth: sidebarWidth
WlrLayershell.namespace: "quickshell:sidebarRight"
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
color: "transparent"