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

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"

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

View file

@ -39,7 +39,7 @@ Scope {
}
color: "transparent"
width: Appearance.sizes.notificationPopupWidth
implicitWidth: Appearance.sizes.notificationPopupWidth
// Signal handlers to add/remove notifications
Connections {

View file

@ -63,8 +63,8 @@ Scope {
item: osdValuesWrapper
}
width: columnLayout.implicitWidth
height: columnLayout.implicitHeight
implicitWidth: columnLayout.implicitWidth
implicitHeight: columnLayout.implicitHeight
visible: showOsdValues
ColumnLayout {

View file

@ -67,8 +67,8 @@ Scope {
item: osdValuesWrapper
}
width: columnLayout.implicitWidth
height: columnLayout.implicitHeight
implicitWidth: columnLayout.implicitWidth
implicitHeight: columnLayout.implicitHeight
visible: showOsdValues
ColumnLayout {

View file

@ -68,8 +68,8 @@ Scope {
}
}
width: columnLayout.width
height: columnLayout.height
implicitWidth: columnLayout.width
implicitHeight: columnLayout.height
ColumnLayout {
id: columnLayout

View file

@ -37,8 +37,8 @@ Scope {
right: true
}
width: modelData.width
height: modelData.height
implicitWidth: modelData.width
implicitHeight: modelData.height
HyprlandFocusGrab {
id: grab

View file

@ -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"

View file

@ -34,7 +34,7 @@ Scope {
screen: modelData
exclusiveZone: 0
width: sidebarWidth
implicitWidth: sidebarWidth
WlrLayershell.namespace: "quickshell:sidebarRight"
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
color: "transparent"