summaryrefslogtreecommitdiff
path: root/modules/bar/OsIcon.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/OsIcon.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/OsIcon.qml')
-rw-r--r--modules/bar/OsIcon.qml14
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/bar/OsIcon.qml b/modules/bar/OsIcon.qml
index 1737814..62ff5e6 100644
--- a/modules/bar/OsIcon.qml
+++ b/modules/bar/OsIcon.qml
@@ -5,11 +5,13 @@ import "root:/config"
import QtQuick
import QtQuick.Layouts
-Text {
- Layout.alignment: Qt.AlignCenter
+Box {
+ Label {
+ Layout.alignment: Qt.AlignCenter
- text: Icons.osIcon
- font.pointSize: Appearance.font.size.smaller
- font.family: Appearance.font.family.mono
- color: Appearance.colours.yellow
+ text: Icons.osIcon
+ font.pointSize: Appearance.font.size.smaller
+ font.family: Appearance.font.family.mono
+ color: Appearance.colours.yellow
+ }
}