mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
style<*>: change font render mode
This commit is contained in:
parent
a94a62bd27
commit
5b3b551b84
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@
|
|||
mc:Ignorable="d"
|
||||
UseLayoutRounding="True"
|
||||
Title="{StaticResource Text.Blame}"
|
||||
TextOptions.TextFormattingMode="Display"
|
||||
TextOptions.TextRenderingMode="ClearType"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
Height="600" Width="800">
|
||||
<WindowChrome.WindowChrome>
|
||||
|
@ -86,7 +88,7 @@
|
|||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<Border Background="{Binding BG}" BorderThickness="0">
|
||||
<TextBlock Text="{Binding Line.Content}" Background="Transparent" Foreground="{StaticResource Brush.FG1}" FontFamily="Consolas" FontSize="12" Margin="0" Padding="2,0,0,0"/>
|
||||
<TextBlock Text="{Binding Line.Content}" Background="Transparent" Foreground="{StaticResource Brush.FG1}" FontFamily="Consolas,SimSun" FontSize="9pt" Margin="0" Padding="2,0,0,0"/>
|
||||
</Border>
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
|
|
Loading…
Reference in a new issue