diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-25 23:04:32 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-25 23:04:32 +1000 |
| commit | 84dc5a3593ef05c8956a094f014bfc4fbfc208f3 (patch) | |
| tree | b8c97c2c8de5c58039f2cde25bc474ce329a34a2 /modules/utilities/Wrapper.qml | |
| parent | plugin/hypr: fix updating keyboards (diff) | |
| download | caelestia-shell-84dc5a3593ef05c8956a094f014bfc4fbfc208f3.tar.gz caelestia-shell-84dc5a3593ef05c8956a094f014bfc4fbfc208f3.tar.bz2 caelestia-shell-84dc5a3593ef05c8956a094f014bfc4fbfc208f3.zip | |
utilities: size fixes
Diffstat (limited to 'modules/utilities/Wrapper.qml')
| -rw-r--r-- | modules/utilities/Wrapper.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/utilities/Wrapper.qml b/modules/utilities/Wrapper.qml index 040a928..dd784bc 100644 --- a/modules/utilities/Wrapper.qml +++ b/modules/utilities/Wrapper.qml @@ -22,7 +22,7 @@ Item { visible: height > 0 implicitHeight: 0 - implicitWidth: Math.max(sidebar.width, Config.utilities.sizes.width) + implicitWidth: sidebar.visible ? sidebar.width : Config.utilities.sizes.width onStateChanged: { if (state === "visible" && timer.running) { @@ -86,7 +86,7 @@ Item { active: true sourceComponent: Content { - implicitWidth: Config.utilities.sizes.width - Appearance.padding.large * 2 + implicitWidth: root.implicitWidth - Appearance.padding.large * 2 props: root.props visibilities: root.visibilities } |