diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-14 20:56:44 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-14 20:56:44 +0800 |
| commit | 6b1d5aaf98d990a550f227808490363297f943b0 (patch) | |
| tree | 8add395e33208750b33971371a5c122cb3f2418f /modules | |
| parent | launcher: remove old file (diff) | |
| download | caelestia-shell-6b1d5aaf98d990a550f227808490363297f943b0.tar.gz caelestia-shell-6b1d5aaf98d990a550f227808490363297f943b0.tar.bz2 caelestia-shell-6b1d5aaf98d990a550f227808490363297f943b0.zip | |
dev: fix deprecated window width & height
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/bar/Bar.qml | 4 | ||||
| -rw-r--r-- | modules/drawers/Exclusions.qml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 8cf01c4..6e61005 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -16,8 +16,8 @@ Variants { name: "bar" exclusiveZone: BarConfig.sizes.exclusiveZone - width: BarConfig.vertical ? BarConfig.sizes.totalHeight : -1 - height: BarConfig.vertical ? -1 : BarConfig.sizes.totalHeight + implicitWidth: BarConfig.vertical ? BarConfig.sizes.totalHeight : -1 + implicitHeight: BarConfig.vertical ? -1 : BarConfig.sizes.totalHeight anchors.top: true anchors.left: true diff --git a/modules/drawers/Exclusions.qml b/modules/drawers/Exclusions.qml index c8b3959..e73a6a9 100644 --- a/modules/drawers/Exclusions.qml +++ b/modules/drawers/Exclusions.qml @@ -28,8 +28,8 @@ Scope { component ExclusionZone: StyledWindow { screen: root.screen name: "border-exclusion" - width: BorderConfig.thickness - height: BorderConfig.thickness + implicitWidth: BorderConfig.thickness + implicitHeight: BorderConfig.thickness anchors.top: true anchors.left: true |