summaryrefslogtreecommitdiff
path: root/modules/bar/Clock.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 /modules/bar/Clock.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 'modules/bar/Clock.qml')
-rw-r--r--modules/bar/Clock.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/bar/Clock.qml b/modules/bar/Clock.qml
index 4c743a6..2332f29 100644
--- a/modules/bar/Clock.qml
+++ b/modules/bar/Clock.qml
@@ -4,9 +4,9 @@ import "root:/config"
import QtQuick
import QtQuick.Layouts
-Box {
+BoxLayout {
id: root
- property color colour: Appearance.colours.peach
+ readonly property color colour: Appearance.colours.peach
MaterialIcon {
Layout.alignment: Qt.AlignCenter
@@ -14,7 +14,7 @@ Box {
color: root.colour
}
- Text {
+ Label {
Layout.alignment: Qt.AlignCenter
horizontalAlignment: Text.AlignJustify