From f932d580af8c296171e394dbbd2343a9d61a249e Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Thu, 28 Aug 2025 14:26:13 +0200 Subject: [PATCH] NCheckbox: add scaling --- Widgets/NCheckbox.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Widgets/NCheckbox.qml b/Widgets/NCheckbox.qml index 8bb3552..ee2beaf 100644 --- a/Widgets/NCheckbox.qml +++ b/Widgets/NCheckbox.qml @@ -12,7 +12,7 @@ RowLayout { property bool checked: false property bool hovering: false // Smaller default footprint than NToggle - property int baseSize: Math.max(Style.baseWidgetSize * 0.8, 14) + property int baseSize: Math.max(Style.baseWidgetSize * 0.8, Math.round(14 / scaling)) signal toggled(bool checked) signal entered