diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 18:47:45 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 18:47:45 +1000 |
| commit | 169450aa2e9d9058686aab0f7cf54b728ecd6efa (patch) | |
| tree | 22b84e83831f975db86c676ef4716815f59ab10d /widgets | |
| parent | bar: increase spacing between pill content (diff) | |
| download | caelestia-shell-169450aa2e9d9058686aab0f7cf54b728ecd6efa.tar.gz caelestia-shell-169450aa2e9d9058686aab0f7cf54b728ecd6efa.tar.bz2 caelestia-shell-169450aa2e9d9058686aab0f7cf54b728ecd6efa.zip | |
feat: bar bluetooth devices
Diffstat (limited to 'widgets')
| -rw-r--r-- | widgets/AnchorText.qml | 2 | ||||
| -rw-r--r-- | widgets/BoxLayout.qml | 2 | ||||
| -rw-r--r-- | widgets/StyledRect.qml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/widgets/AnchorText.qml b/widgets/AnchorText.qml index a0342e8..03514dd 100644 --- a/widgets/AnchorText.qml +++ b/widgets/AnchorText.qml @@ -5,7 +5,7 @@ StyledText { id: root required property Item prevAnchor - property bool vertical + property bool vertical: parent.vertical ?? false anchors.left: vertical ? undefined : prevAnchor.right anchors.leftMargin: vertical ? 0 : Appearance.padding.smaller diff --git a/widgets/BoxLayout.qml b/widgets/BoxLayout.qml index 2163000..d000bda 100644 --- a/widgets/BoxLayout.qml +++ b/widgets/BoxLayout.qml @@ -2,7 +2,7 @@ import "root:/config" import QtQuick.Layouts GridLayout { - property bool vertical: false + property bool vertical: parent.vertical ?? false // Propagate from parent property bool homogenous: false property int spacing: Appearance.spacing.small diff --git a/widgets/StyledRect.qml b/widgets/StyledRect.qml index 07c1e77..bb9824c 100644 --- a/widgets/StyledRect.qml +++ b/widgets/StyledRect.qml @@ -5,7 +5,7 @@ Rectangle { id: root property bool animate: false - property bool vertical: false // Convenience property for propagation to children + property bool vertical: parent.vertical ?? false // Convenience property for propagation to children color: "transparent" implicitWidth: childrenRect.width |