From 2c74e556835d9480a2208825683c88fbe2ed5c4e Mon Sep 17 00:00:00 2001 From: zqq-dora Date: Wed, 18 Nov 2026 10:47:21 +0800 Subject: [PATCH] fix(slider): align tick highlight background with checked button style The slider tick highlight background uses HighlightPanel with default highlightPanel.* color tokens, which differ from the checked button style. Bind the HighlightPanel color properties to checkedButton.* tokens so the tick selected background matches the transparent button checked appearance. --- qt6/src/qml/SliderTipItem.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qt6/src/qml/SliderTipItem.qml b/qt6/src/qml/SliderTipItem.qml index c8134bbee..5a5315680 100644 --- a/qt6/src/qml/SliderTipItem.qml +++ b/qt6/src/qml/SliderTipItem.qml @@ -68,7 +68,11 @@ Control { palette.windowText: control.D.ColorSelector.textColor background: Loader { active: highlight - sourceComponent: HighlightPanel { } + sourceComponent: HighlightPanel { + backgroundColor: DS.Style.checkedButton.background + outerShadowColor: DS.Style.checkedButton.dropShadow + innerShadowColor: DS.Style.checkedButton.innerShadow + } } } }