summaryrefslogtreecommitdiff
path: root/widgets/AnchorText.qml
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/AnchorText.qml')
-rw-r--r--widgets/AnchorText.qml17
1 files changed, 0 insertions, 17 deletions
diff --git a/widgets/AnchorText.qml b/widgets/AnchorText.qml
deleted file mode 100644
index 03514dd..0000000
--- a/widgets/AnchorText.qml
+++ /dev/null
@@ -1,17 +0,0 @@
-import "root:/config"
-import QtQuick
-
-StyledText {
- id: root
-
- required property Item prevAnchor
- property bool vertical: parent.vertical ?? false
-
- anchors.left: vertical ? undefined : prevAnchor.right
- anchors.leftMargin: vertical ? 0 : Appearance.padding.smaller
- anchors.top: vertical ? prevAnchor.bottom : undefined
- anchors.topMargin: vertical ? Appearance.padding.smaller : 0
-
- anchors.horizontalCenter: vertical ? prevAnchor.horizontalCenter : undefined
- anchors.verticalCenter: vertical ? undefined : prevAnchor.verticalCenter
-}