dev: fix deprecated window width & height

This commit is contained in:
2 * r + 2 * t 2025-05-14 20:56:44 +08:00
parent 44953ee25f
commit 6b1d5aaf98
2 changed files with 4 additions and 4 deletions

View file

@ -16,8 +16,8 @@ Variants {
name: "bar" name: "bar"
exclusiveZone: BarConfig.sizes.exclusiveZone exclusiveZone: BarConfig.sizes.exclusiveZone
width: BarConfig.vertical ? BarConfig.sizes.totalHeight : -1 implicitWidth: BarConfig.vertical ? BarConfig.sizes.totalHeight : -1
height: BarConfig.vertical ? -1 : BarConfig.sizes.totalHeight implicitHeight: BarConfig.vertical ? -1 : BarConfig.sizes.totalHeight
anchors.top: true anchors.top: true
anchors.left: true anchors.left: true

View file

@ -28,8 +28,8 @@ Scope {
component ExclusionZone: StyledWindow { component ExclusionZone: StyledWindow {
screen: root.screen screen: root.screen
name: "border-exclusion" name: "border-exclusion"
width: BorderConfig.thickness implicitWidth: BorderConfig.thickness
height: BorderConfig.thickness implicitHeight: BorderConfig.thickness
anchors.top: true anchors.top: true
anchors.left: true anchors.left: true