mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -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"
|
mc:Ignorable="d"
|
||||||
UseLayoutRounding="True"
|
UseLayoutRounding="True"
|
||||||
Title="{StaticResource Text.Blame}"
|
Title="{StaticResource Text.Blame}"
|
||||||
|
TextOptions.TextFormattingMode="Display"
|
||||||
|
TextOptions.TextRenderingMode="ClearType"
|
||||||
WindowStartupLocation="CenterOwner"
|
WindowStartupLocation="CenterOwner"
|
||||||
Height="600" Width="800">
|
Height="600" Width="800">
|
||||||
<WindowChrome.WindowChrome>
|
<WindowChrome.WindowChrome>
|
||||||
|
@ -86,7 +88,7 @@
|
||||||
<DataGridTemplateColumn.CellTemplate>
|
<DataGridTemplateColumn.CellTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<Border Background="{Binding BG}" BorderThickness="0">
|
<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>
|
</Border>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</DataGridTemplateColumn.CellTemplate>
|
</DataGridTemplateColumn.CellTemplate>
|
||||||
|
|
Loading…
Reference in a new issue