diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-05 22:13:27 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-05 22:13:27 +1000 |
| commit | ded156f58d0a23b3926e9dbbbc5ed2a7d1d4c0c7 (patch) | |
| tree | 0b8c91faf8079382ab37e7c07680bc77efbdb4f1 /modules/bar/popouts/Content.qml | |
| parent | feat: network popout (diff) | |
| download | caelestia-shell-ded156f58d0a23b3926e9dbbbc5ed2a7d1d4c0c7.tar.gz caelestia-shell-ded156f58d0a23b3926e9dbbbc5ed2a7d1d4c0c7.tar.bz2 caelestia-shell-ded156f58d0a23b3926e9dbbbc5ed2a7d1d4c0c7.zip | |
feat: bluetooth popout
Diffstat (limited to 'modules/bar/popouts/Content.qml')
| -rw-r--r-- | modules/bar/popouts/Content.qml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/bar/popouts/Content.qml b/modules/bar/popouts/Content.qml index 43f2c8e..a8051f8 100644 --- a/modules/bar/popouts/Content.qml +++ b/modules/bar/popouts/Content.qml @@ -10,8 +10,8 @@ Item { anchors.centerIn: parent - implicitWidth: Popouts.hasCurrent ? content.children.find(c => c.shouldBeActive).implicitWidth + Appearance.padding.large * 2 : 0 - implicitHeight: Popouts.hasCurrent ? content.children.find(c => c.shouldBeActive).implicitHeight + Appearance.padding.large * 2 : 0 + implicitWidth: Popouts.hasCurrent ? (content.children.find(c => c.shouldBeActive)?.implicitWidth ?? 0) + Appearance.padding.large * 2 : 0 + implicitHeight: Popouts.hasCurrent ? (content.children.find(c => c.shouldBeActive)?.implicitHeight ?? 0) + Appearance.padding.large * 2 : 0 Item { id: content @@ -32,6 +32,11 @@ Item { } Popout { + name: "bluetooth" + source: "Bluetooth.qml" + } + + Popout { name: "battery" source: "Battery.qml" } |