summaryrefslogtreecommitdiff
path: root/modules/bar/popouts/Audio.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-13 16:53:22 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-13 16:53:22 +1000
commit25508df016e6953d52ea993697a4d0adaeddc726 (patch)
treea7b45a03affa18e41f44f35ba5d000df1aae96b0 /modules/bar/popouts/Audio.qml
parentplugin: managers -> internal (diff)
downloadcaelestia-shell-25508df016e6953d52ea993697a4d0adaeddc726.tar.gz
caelestia-shell-25508df016e6953d52ea993697a4d0adaeddc726.tar.bz2
caelestia-shell-25508df016e6953d52ea993697a4d0adaeddc726.zip
internal: use templates
Diffstat (limited to 'modules/bar/popouts/Audio.qml')
-rw-r--r--modules/bar/popouts/Audio.qml10
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/bar/popouts/Audio.qml b/modules/bar/popouts/Audio.qml
index fcc2a1e..952dd6b 100644
--- a/modules/bar/popouts/Audio.qml
+++ b/modules/bar/popouts/Audio.qml
@@ -31,10 +31,9 @@ Item {
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
- spacing: 0
+ spacing: Appearance.spacing.normal
StyledText {
- Layout.bottomMargin: Appearance.spacing.small / 2
text: qsTr("Output device")
font.weight: 500
}
@@ -55,8 +54,7 @@ Item {
}
StyledText {
- Layout.topMargin: Appearance.spacing.normal
- Layout.bottomMargin: Appearance.spacing.small / 2
+ Layout.topMargin: Appearance.spacing.smaller
text: qsTr("Input device")
font.weight: 500
}
@@ -75,8 +73,8 @@ Item {
}
StyledText {
- Layout.topMargin: Appearance.spacing.normal
- Layout.bottomMargin: Appearance.spacing.small / 2
+ Layout.topMargin: Appearance.spacing.smaller
+ Layout.bottomMargin: -Appearance.spacing.small / 2
text: qsTr("Volume (%1)").arg(Audio.muted ? qsTr("Muted") : `${Math.round(Audio.volume * 100)}%`)
font.weight: 500
}