From 23887574cf00188b720576376eaee649f14e07aa Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Tue, 30 Sep 2025 13:12:49 +0200 Subject: [PATCH] NIcon: fix fontSize --- Widgets/NIcon.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Widgets/NIcon.qml b/Widgets/NIcon.qml index 7e501fcd..adca75f6 100644 --- a/Widgets/NIcon.qml +++ b/Widgets/NIcon.qml @@ -7,6 +7,7 @@ Text { id: root property string icon: Icons.defaultIcon + property real pointSize: Style.fontSizeL * scaling visible: (icon !== undefined) && (icon !== "") text: { @@ -21,7 +22,7 @@ Text { return Icons.get(icon) } font.family: Icons.fontFamily - font.pointSize: textSize + font.pointSize: root.pointSize color: Color.mOnSurface verticalAlignment: Text.AlignVCenter }