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 anchors.top: true
margins.top: 0 margins.top: 0
width: rect.width + shadow.radius * 2 implicitWidth: rect.width + shadow.radius * 2
height: rect.height + shadow.radius * 2 implicitHeight: rect.height + shadow.radius * 2
// color blending is a bit odd as detailed in the type reference. // color blending is a bit odd as detailed in the type reference.
color: "transparent" color: "transparent"
+1 -1
View File
@@ -30,7 +30,7 @@ Scope {
screen: modelData screen: modelData
WlrLayershell.namespace: "quickshell:bar" WlrLayershell.namespace: "quickshell:bar"
height: barHeight + Appearance.rounding.screenRounding implicitHeight: barHeight + Appearance.rounding.screenRounding
exclusiveZone: showBarBackground ? barHeight : (barHeight - 4) exclusiveZone: showBarBackground ? barHeight : (barHeight - 4)
mask: Region { mask: Region {
item: barContent item: barContent
@@ -39,7 +39,7 @@ Scope {
} }
color: "transparent" color: "transparent"
width: Appearance.sizes.notificationPopupWidth implicitWidth: Appearance.sizes.notificationPopupWidth
// Signal handlers to add/remove notifications // Signal handlers to add/remove notifications
Connections { Connections {
@@ -63,8 +63,8 @@ Scope {
item: osdValuesWrapper item: osdValuesWrapper
} }
width: columnLayout.implicitWidth implicitWidth: columnLayout.implicitWidth
height: columnLayout.implicitHeight implicitHeight: columnLayout.implicitHeight
visible: showOsdValues visible: showOsdValues
ColumnLayout { ColumnLayout {
@@ -67,8 +67,8 @@ Scope {
item: osdValuesWrapper item: osdValuesWrapper
} }
width: columnLayout.implicitWidth implicitWidth: columnLayout.implicitWidth
height: columnLayout.implicitHeight implicitHeight: columnLayout.implicitHeight
visible: showOsdValues visible: showOsdValues
ColumnLayout { ColumnLayout {
@@ -68,8 +68,8 @@ Scope {
} }
} }
width: columnLayout.width implicitWidth: columnLayout.width
height: columnLayout.height implicitHeight: columnLayout.height
ColumnLayout { ColumnLayout {
id: columnLayout id: columnLayout
@@ -37,8 +37,8 @@ Scope {
right: true right: true
} }
width: modelData.width implicitWidth: modelData.width
height: modelData.height implicitHeight: modelData.height
HyprlandFocusGrab { HyprlandFocusGrab {
id: grab id: grab
@@ -37,7 +37,7 @@ Scope { // Scope
screen: modelData screen: modelData
exclusiveZone: 0 exclusiveZone: 0
width: Appearance.sizes.sidebarWidthExtended implicitWidth: Appearance.sizes.sidebarWidthExtended
WlrLayershell.namespace: "quickshell:sidebarLeft" WlrLayershell.namespace: "quickshell:sidebarLeft"
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
color: "transparent" color: "transparent"
@@ -34,7 +34,7 @@ Scope {
screen: modelData screen: modelData
exclusiveZone: 0 exclusiveZone: 0
width: sidebarWidth implicitWidth: sidebarWidth
WlrLayershell.namespace: "quickshell:sidebarRight" WlrLayershell.namespace: "quickshell:sidebarRight"
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
color: "transparent" color: "transparent"