make scrollbar width a multiple of 16

having even sizes helps raster-rendering to work better
This commit is contained in:
Haven1433 2022-09-05 20:45:16 -05:00
parent 8c3beaa4df
commit eecde5212f

View File

@ -269,8 +269,8 @@
<Setter Property="BorderBrush" Value="{DynamicResource Backlight}"/>
<Setter Property="Foreground" Value="{DynamicResource Primary}"/>
<Setter Property="BorderThickness" Value="1,0"/>
<Setter Property="Width" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
<Setter Property="MinWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
<Setter Property="Width" Value="16"/>
<Setter Property="MinWidth" Value="16"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ScrollBar}">