summaryrefslogtreecommitdiff
path: root/widgets/AnchorText.qml
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/AnchorText.qml')
-rw-r--r--widgets/AnchorText.qml2
1 files changed, 1 insertions, 1 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