From 1d181c8f1793b9e7d26c1cf1604fca51de609f25 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sun, 15 Dec 2024 13:29:59 +0800 Subject: [PATCH] chore: modify Slider template. --- .../Themes/Styles/Slider.axaml | 43 +++++++++--- .../HandyControl_Net_40/Themes/Theme.xaml | 62 +++++------------ .../Themes/Styles/Base/SliderBaseStyle.xaml | 68 +++++-------------- .../HandyControl_Shared/Themes/Theme.xaml | 62 +++++------------ 4 files changed, 83 insertions(+), 152 deletions(-) diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Slider.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Slider.axaml index f0ccc1917..ccf455be1 100644 --- a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Slider.axaml +++ b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Slider.axaml @@ -1,15 +1,42 @@ - + + + + + + + + + + + + + + - + + + @@ -322,13 +349,11 @@ + Theme="{StaticResource SliderRepeatButtonHorizontalStyle}" /> + Theme="{StaticResource SliderRepeatButtonHorizontalStyle}" /> @@ -386,13 +411,11 @@ + Theme="{StaticResource SliderRepeatButtonVerticalStyle}" /> + Theme="{StaticResource SliderRepeatButtonVerticalStyle}" /> diff --git a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml index 11cf99e48..39791ba9a 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml @@ -418,36 +418,6 @@ - - - - - @@ -610,10 +578,10 @@ - + - + @@ -627,10 +595,10 @@ - + - + @@ -875,8 +843,8 @@ - - + + @@ -914,14 +882,14 @@ - + - + - - + + diff --git a/src/Shared/HandyControl_Shared/Themes/Theme.xaml b/src/Shared/HandyControl_Shared/Themes/Theme.xaml index 2a8d572ce..0b0869b7d 100644 --- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml @@ -418,36 +418,6 @@ - -