diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-13 22:40:13 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-13 22:40:13 +0800 |
| commit | 6487f0a1778efc94f192326c1048f3d05d1b408f (patch) | |
| tree | 17b1a14bb03865fa9437300e458f93b37ab7cbc9 /components/Icons.qml | |
| parent | f0b03a1611181b8ff20fc8698bcdb8fa267d23c9 (diff) | |
finish styled top bar
Diffstat (limited to 'components/Icons.qml')
| -rw-r--r-- | components/Icons.qml | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
