From b695a2bf36bacd5b275fd3a70ef9964083a82513 Mon Sep 17 00:00:00 2001 From: Stephen L Peters Date: Fri, 11 Aug 2023 14:28:33 -0700 Subject: [PATCH] Update ScrollBar thumb template to use ThemeResource instead of StaticResource (#6686) --- dev/CommonStyles/ScrollBar_themeresources.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/CommonStyles/ScrollBar_themeresources.xaml b/dev/CommonStyles/ScrollBar_themeresources.xaml index 9696a4c37d..058a571fde 100755 --- a/dev/CommonStyles/ScrollBar_themeresources.xaml +++ b/dev/CommonStyles/ScrollBar_themeresources.xaml @@ -743,7 +743,7 @@ Background="{ThemeResource ScrollBarPanningThumbBackground}" BorderBrush="{ThemeResource ScrollBarThumbBorderBrush}" Template="{StaticResource HorizontalThumbTemplate}" - Height="{StaticResource ScrollBarHorizontalThumbMinHeight}" + Height="{ThemeResource ScrollBarHorizontalThumbMinHeight}" MinWidth="{StaticResource ScrollBarHorizontalThumbMinWidth}" AutomationProperties.AccessibilityView="Raw" RenderTransformOrigin="0.5,1" @@ -782,7 +782,7 @@ Background="{ThemeResource ScrollBarPanningThumbBackground}" BorderBrush="{ThemeResource ScrollBarThumbBorderBrush}" Template="{StaticResource VerticalThumbTemplate}" - Width="{StaticResource ScrollBarVerticalThumbMinWidth}" + Width="{ThemeResource ScrollBarVerticalThumbMinWidth}" MinHeight="{StaticResource ScrollBarVerticalThumbMinHeight}" AutomationProperties.AccessibilityView="Raw" RenderTransformOrigin="1,0.5"