From 6d40032fe5c520fcedef1e1f173bb4030c5d87b0 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 24 May 2025 17:27:15 +0800 Subject: internal: use implicit size for wrappers --- modules/osd/Wrapper.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/osd/Wrapper.qml') diff --git a/modules/osd/Wrapper.qml b/modules/osd/Wrapper.qml index 56479ad..22d5f74 100644 --- a/modules/osd/Wrapper.qml +++ b/modules/osd/Wrapper.qml @@ -11,14 +11,14 @@ Item { visible: width > 0 implicitWidth: 0 - implicitHeight: content.height + BorderConfig.rounding * 2 + implicitHeight: content.implicitHeight + BorderConfig.rounding * 2 states: State { name: "visible" when: root.visibility PropertyChanges { - root.implicitWidth: content.width + root.implicitWidth: content.implicitWidth } } -- cgit v1.2.3-freya