From cba440bcfced79eda2764e441c68239b6c594457 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 28 Apr 2025 00:21:53 +1000 Subject: 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 --- modules/bar/OsIcon.qml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'modules/bar/OsIcon.qml') 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 + } } -- cgit v1.2.3-freya