Skip to content

Commit 5c5ee9b

Browse files
committed
style: icon for commit decorators
1 parent 8042091 commit 5c5ee9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/SourceGit/Views/Histories.axaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@
4747
<Border Height="16" Margin="0,0,4,0" CornerRadius="2" ClipToBounds="True">
4848
<StackPanel Orientation="Horizontal">
4949
<Border Background="{DynamicResource Brush.Decorator}" Width="16">
50-
<Path Width="8" Height="8" Stretch="Fill" Data="{Binding Type, Converter={x:Static c:DecoratorTypeConverters.ToIcon}}" Fill="{DynamicResource Brush.DecoratorIcon}"/>
50+
<Path Width="8" Height="8"
51+
Stretch="Uniform"
52+
Data="{Binding Type, Converter={x:Static c:DecoratorTypeConverters.ToIcon}}"
53+
Fill="{DynamicResource Brush.DecoratorIcon}"
54+
VerticalAlignment="Center"/>
5155
</Border>
5256
<Border Background="{Binding Type, Converter={x:Static c:DecoratorTypeConverters.ToBackground}}">
5357
<TextBlock Classes="monospace" Text="{Binding Name}" FontSize="10" Margin="4,0" Foreground="Black"/>

0 commit comments

Comments
 (0)