diff options
| author | ATMDA <atdma2600@gmail.com> | 2025-11-17 12:21:44 -0500 |
|---|---|---|
| committer | ATMDA <atdma2600@gmail.com> | 2025-11-17 12:21:44 -0500 |
| commit | 821ee4389ab2a81c5abba910936662d22e5f0480 (patch) | |
| tree | 069e73760806f5dac4e2032d3fdb30b397091569 /components/SectionContainer.qml | |
| parent | controlcenter: relabled buttons in connected group (diff) | |
| download | caelestia-shell-821ee4389ab2a81c5abba910936662d22e5f0480.tar.gz caelestia-shell-821ee4389ab2a81c5abba910936662d22e5f0480.tar.bz2 caelestia-shell-821ee4389ab2a81c5abba910936662d22e5f0480.zip | |
controlcenter: taskbar panel layout reorg
Diffstat (limited to 'components/SectionContainer.qml')
| -rw-r--r-- | components/SectionContainer.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/SectionContainer.qml b/components/SectionContainer.qml index f7dfef4..60e3d59 100644 --- a/components/SectionContainer.qml +++ b/components/SectionContainer.qml @@ -10,6 +10,7 @@ StyledRect { default property alias content: contentColumn.data property real contentSpacing: Appearance.spacing.larger + property bool alignTop: false Layout.fillWidth: true implicitHeight: contentColumn.implicitHeight + Appearance.padding.large * 2 @@ -22,7 +23,8 @@ StyledRect { anchors.left: parent.left anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter + anchors.top: root.alignTop ? parent.top : undefined + anchors.verticalCenter: root.alignTop ? undefined : parent.verticalCenter anchors.margins: Appearance.padding.large spacing: root.contentSpacing |