From 6b1d5aaf98d990a550f227808490363297f943b0 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 14 May 2025 20:56:44 +0800 Subject: dev: fix deprecated window width & height --- modules/bar/Bar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/bar/Bar.qml') 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 -- cgit v1.2.3-freya