summaryrefslogtreecommitdiff
path: root/widgets/Label.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-28 00:21:53 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-28 00:21:53 +1000
commitcba440bcfced79eda2764e441c68239b6c594457 (patch)
tree15e72a41a47015a1440a7c6b54c51d8f182ebe24 /widgets/Label.qml
parenthyprland: use qs hyprland service (diff)
downloadcaelestia-shell-cba440bcfced79eda2764e441c68239b6c594457.tar.gz
caelestia-shell-cba440bcfced79eda2764e441c68239b6c594457.tar.bz2
caelestia-shell-cba440bcfced79eda2764e441c68239b6c594457.zip
feat: anims + box padding
box provide padding and animate size and colour provide box and boxlayout for with/without layout provide clippingbox provide label for anim + rendertype configure QtQuick controls
Diffstat (limited to 'widgets/Label.qml')
-rw-r--r--widgets/Label.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/widgets/Label.qml b/widgets/Label.qml
new file mode 100644
index 0000000..e1e22ba
--- /dev/null
+++ b/widgets/Label.qml
@@ -0,0 +1,16 @@
+import "root:/config"
+import QtQuick
+
+Text {
+ id: root
+
+ renderType: Text.NativeRendering
+
+ Behavior on color {
+ ColorAnimation {
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+ }
+ }
+}