From 01d9c318593e1bf4eb81dc6e71dc4c20e8c9fa6a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 29 Apr 2025 10:53:54 +1000 Subject: bar: fix alignment Also refactor box -> styledrect + paddedrect --- modules/bar/components/OsIcon.qml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'modules/bar/components/OsIcon.qml') diff --git a/modules/bar/components/OsIcon.qml b/modules/bar/components/OsIcon.qml index 5f2a103..0daa945 100644 --- a/modules/bar/components/OsIcon.qml +++ b/modules/bar/components/OsIcon.qml @@ -1,19 +1,10 @@ import "root:/widgets" -import "root:/services" import "root:/utils" import "root:/config" -import QtQuick -import QtQuick.Layouts -Box { - padding: [Appearance.padding.smaller, 0] - - StyledText { - text: Icons.osIcon - font.pointSize: Appearance.font.size.smaller - font.family: Appearance.font.family.mono - color: Appearance.colours.yellow - - Layout.alignment: Layout.Center - } +StyledText { + text: Icons.osIcon + font.pointSize: Appearance.font.size.smaller + font.family: Appearance.font.family.mono + color: Appearance.colours.yellow } -- cgit v1.2.3-freya