diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-27 10:42:08 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-27 10:42:08 +0800 |
| commit | 63da636144635e5aa6b7ff1a2d2eec2a1e35aafa (patch) | |
| tree | cd5461058c7afedb2d17f474f13ee218759519ba /widgets/AnchorText.qml | |
| parent | drawers: dont use hyprland cursor pos (diff) | |
| download | caelestia-shell-63da636144635e5aa6b7ff1a2d2eec2a1e35aafa.tar.gz caelestia-shell-63da636144635e5aa6b7ff1a2d2eec2a1e35aafa.tar.bz2 caelestia-shell-63da636144635e5aa6b7ff1a2d2eec2a1e35aafa.zip | |
internal: bar only vertical
The bar can only be vertical
Remove box, boxlayout and anchortext
Add StyledClippingRect
Diffstat (limited to 'widgets/AnchorText.qml')
| -rw-r--r-- | widgets/AnchorText.qml | 17 |
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 -} |