From 43eacb7e679b5d31615b49929d99ed81b55d4e95 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Sat, 9 Aug 2025 14:53:41 -0400 Subject: [PATCH] NSlider less boldy --- Widgets/NSlider.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Widgets/NSlider.qml b/Widgets/NSlider.qml index f7cd96a..9bbcdc6 100644 --- a/Widgets/NSlider.qml +++ b/Widgets/NSlider.qml @@ -10,7 +10,7 @@ Slider { readonly property real scaling: Scaling.scale(screen) readonly property real knobDiameter: Style.baseWidgetHeight * 0.75 * scaling readonly property real trackHeight: knobDiameter * 0.5 - readonly property real cutoutExtra: Style.baseWidgetHeight * 0.25 * scaling + readonly property real cutoutExtra: Style.baseWidgetHeight * 0.1 * scaling // Optional color to cut the track beneath the knob (should match surrounding background) property var cutoutColor @@ -18,7 +18,6 @@ Slider { property bool snapAlways: true snapMode: snapAlways ? Slider.SnapAlways : Slider.SnapOnRelease - implicitHeight: Math.max(trackHeight, knobDiameter) background: Rectangle { @@ -88,7 +87,7 @@ Slider { radius: width * 0.5 color: slider.pressed ? Theme.surfaceVariant : Theme.surface border.color: Theme.accentPrimary - border.width: 2 * scaling + border.width: Math.max(1, 2 * scaling) // Press feedback halo (using accent color, low opacity) Rectangle { anchors.centerIn: parent