style(TwoCommitsDiff): change title style

This commit is contained in:
leo 2020-09-25 18:02:12 +08:00
parent d2f5e2caf0
commit 11b9c8ac09
2 changed files with 3 additions and 3 deletions

View file

@ -11,11 +11,11 @@
d:DesignHeight="450" d:DesignWidth="800">
<Grid Margin="4,0">
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="32.5"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Label Grid.Row="0" x:Name="txtTitle" FontFamily="Consolas" FontSize="18" FontWeight="UltraBold" Foreground="{StaticResource Brush.FG2}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<Label Grid.Row="0" x:Name="txtTitle" FontFamily="Consolas" FontWeight="Bold" Foreground="{StaticResource Brush.FG}" Opacity=".7" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>

View file

@ -52,7 +52,7 @@ namespace SourceGit.UI {
this.sha1 = sha1;
this.sha2 = sha2;
txtTitle.Content = $"COMMIT: {sha1} -> {sha2}";
txtTitle.Content = $"COMMIT : {sha1} -> {sha2}";
Task.Run(() => LoadChanges(true));
}