diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-30 12:35:47 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-30 12:35:47 +1000 |
| commit | 5c3f27f332c8e67d3645cf35da2a787f40906d14 (patch) | |
| tree | f57cd61cc0627821d3a9dfde2d1ee6c729ca1362 /modules/bar/components/workspaces/Workspace.qml | |
| parent | bar: fix anchor error (diff) | |
| download | caelestia-shell-5c3f27f332c8e67d3645cf35da2a787f40906d14.tar.gz caelestia-shell-5c3f27f332c8e67d3645cf35da2a787f40906d14.tar.bz2 caelestia-shell-5c3f27f332c8e67d3645cf35da2a787f40906d14.zip | |
bar: workspaces some fixes
And anim occupied pill movement
Diffstat (limited to 'modules/bar/components/workspaces/Workspace.qml')
| -rw-r--r-- | modules/bar/components/workspaces/Workspace.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/bar/components/workspaces/Workspace.qml b/modules/bar/components/workspaces/Workspace.qml index 30e2983..5af0e62 100644 --- a/modules/bar/components/workspaces/Workspace.qml +++ b/modules/bar/components/workspaces/Workspace.qml @@ -6,7 +6,6 @@ import QtQuick.Layouts StyledText { required property int index required property bool vertical - required property bool homogenous required property var occupied required property int groupOffset @@ -19,6 +18,6 @@ StyledText { color: BarConfig.workspaces.occupiedBg || occupied[ws] ? Appearance.colours.text : Appearance.colours.subtext0 horizontalAlignment: StyledText.AlignHCenter - Layout.preferredWidth: homogenous && !vertical ? BarConfig.sizes.innerHeight : -1 - Layout.preferredHeight: homogenous && vertical ? BarConfig.sizes.innerHeight : -1 + Layout.minimumWidth: vertical ? -1 : BarConfig.sizes.innerHeight + Layout.minimumHeight: vertical ? BarConfig.sizes.innerHeight : -1 } |