From 6487f0a1778efc94f192326c1048f3d05d1b408f Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 13 Jul 2025 22:40:13 +0800 Subject: finish styled top bar --- components/Icons.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'components/Icons.qml') diff --git a/components/Icons.qml b/components/Icons.qml index 4b3915c..a5d2348 100644 --- a/components/Icons.qml +++ b/components/Icons.qml @@ -3,14 +3,15 @@ import QtQuick.Layouts import qs.config -Text { +IText { id: root property real iconSize: General.iconSize property real fill: 0 property real truncatedFill: Math.round(fill * 100) / 100 // Reduce memory consumption spikes from constant font remapping renderType: Text.NativeRendering font { - hintingPreference: Font.PreferFullHinting + // hintingPreference: Font.PreferFullHinting + hintingPreference: Font.PreferNoHinting // so the icons dont just offset away family: Style.font.family.symbols ?? "Symbols Nerd Font" pixelSize: iconSize weight: Font.Normal + (Font.DemiBold - Font.Normal) * fill -- cgit v1.2.3