diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 17:27:15 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 17:27:15 +0800 |
| commit | 6d40032fe5c520fcedef1e1f173bb4030c5d87b0 (patch) | |
| tree | 7cb5f16592e04f568b17b574de2b8d3cc99de9b9 /modules/osd/Wrapper.qml | |
| parent | dashboard: fix calendar size (diff) | |
| download | caelestia-shell-6d40032fe5c520fcedef1e1f173bb4030c5d87b0.tar.gz caelestia-shell-6d40032fe5c520fcedef1e1f173bb4030c5d87b0.tar.bz2 caelestia-shell-6d40032fe5c520fcedef1e1f173bb4030c5d87b0.zip | |
internal: use implicit size for wrappers
Diffstat (limited to 'modules/osd/Wrapper.qml')
| -rw-r--r-- | modules/osd/Wrapper.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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 } } |