General improvements
Moved duplication to separate Styles.
Changed colors
Made cues bigger
MODIFY
WalletWasabi.Fluent/Styles/ScrollViewer.axaml
WalletWasabi.Fluent/Styles/ScrollViewer.axaml
<Panel x:Name="PART_ScrollBarsSeparator" Grid.Row="1" Grid.Column="1" Background="{DynamicResource ScrollViewerScrollBarsSeparatorBackground}" />
<!-- Scroll hints -->
- <Viewbox IsHitTestVisible="False" Grid.ColumnSpan="2" Grid.Row="0" Grid.Column="0" VerticalAlignment="Top" Height="{DynamicResource ScrollBarButtonArrowIconFontSize}">
+ <Viewbox Classes="ScrollViewerCuePath" VerticalAlignment="Top">
<Viewbox.IsVisible>
<MultiBinding Converter="{x:Static converters:MenuScrollingVisibilityConverter.Instance}"
ConverterParameter="0">
<Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Viewport.Height"/>
</MultiBinding>
</Viewbox.IsVisible>
- <Path Data="M 0 4 L 8 4 L 4 0 Z" StrokeThickness="1" Stroke="{StaticResource SystemBaseMediumLowColor}" Fill="{StaticResource SystemChromeGrayColor}" />
+ <Path Data="M 0 4 L 8 4 L 4 0 Z" Classes="ScrollViewerCuePath"/>
</Viewbox>
- <Viewbox IsHitTestVisible="False" Grid.ColumnSpan="2" Grid.Row="0" Grid.Column="0" VerticalAlignment="Bottom" Height="{DynamicResource ScrollBarButtonArrowIconFontSize}">
+ <Viewbox Classes="ScrollViewerCuePath" Stretch="Fill" Grid.ColumnSpan="2" Grid.Row="0" Grid.Column="0" VerticalAlignment="Bottom" >
<Viewbox.IsVisible>
<MultiBinding Converter="{x:Static converters:MenuScrollingVisibilityConverter.Instance}"
ConverterParameter="100">
<Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Viewport.Height"/>
</MultiBinding>
</Viewbox.IsVisible>
- <Path Data="M 0 0 L 4 4 L 8 0 Z" StrokeThickness="1" Stroke="{StaticResource SystemBaseMediumLowColor}" Fill="{StaticResource SystemChromeGrayColor}" />
+ <Path Data="M 0 0 L 4 4 L 8 0 Z" Classes="ScrollViewerCuePath" />
</Viewbox>
</Grid>
</Setter>
</Style>
+ <Style Selector="Path.ScrollViewerCuePath">
+ <Setter Property="Stroke" Value="{StaticResource SystemBaseMediumLowColor}" />
+ <Setter Property="Fill" Value="{StaticResource SystemBaseMediumHighColor}"></Setter>
+ <Setter Property="StrokeThickness" Value="1" />
+ </Style>
+
+ <Style Selector="Viewbox.ScrollViewerCuePath">
+ <Setter Property="Width" Value="22" />
+ <Setter Property="Height" Value="8" />
+ <Setter Property="IsHitTestVisible" Value="False" />
+ <Setter Property="(Grid.ColumnSpan)" Value="2" />
+ </Style>
+
</Styles>
\ No newline at end of file

General improvements

Moved duplication to separate Styles.
Changed colors
Made cues bigger