diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-28 21:46:55 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-28 21:46:55 +1000 |
| commit | 5c4de3016b516641297b79b88544cc74b0380aaa (patch) | |
| tree | 4c5113a95d244d9b856775291e8e23a4d86fa4ed /modules/dashboard/Content.qml | |
| parent | dashboard: loader content (diff) | |
| download | caelestia-shell-5c4de3016b516641297b79b88544cc74b0380aaa.tar.gz caelestia-shell-5c4de3016b516641297b79b88544cc74b0380aaa.tar.bz2 caelestia-shell-5c4de3016b516641297b79b88544cc74b0380aaa.zip | |
internal: use layouts for dashboard
Diffstat (limited to 'modules/dashboard/Content.qml')
| -rw-r--r-- | modules/dashboard/Content.qml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml index 5c90a17..33171e0 100644 --- a/modules/dashboard/Content.qml +++ b/modules/dashboard/Content.qml @@ -4,6 +4,7 @@ import "root:/config" import Quickshell import Quickshell.Widgets import QtQuick +import QtQuick.Layouts Item { id: root @@ -78,20 +79,24 @@ Item { contentX = Qt.binding(() => currentItem.x); } - Row { + RowLayout { id: row Dash { + Layout.alignment: Qt.AlignTop shouldUpdate: visible && this === view.currentItem visibilities: root.visibilities } Media { + Layout.alignment: Qt.AlignTop shouldUpdate: visible && this === view.currentItem visibilities: root.visibilities } - Performance {} + Performance { + Layout.alignment: Qt.AlignTop + } } Behavior on contentX { |