From e1ca1224dc162047651f6850f2b6c09a039d5151 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 19 May 2021 10:12:25 +0800 Subject: [PATCH] style<*>: use Microsoft YaHei UI instead of SimSun --- src/Resources/Styles/Tree.xaml | 2 +- src/Views/Blame.xaml | 2 +- src/Views/Histories.xaml | 2 +- src/Views/Widgets/CommitDetail.xaml | 2 +- src/Views/Widgets/Histories.xaml | 4 ++-- src/Views/Widgets/RevisionCompare.xaml | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Resources/Styles/Tree.xaml b/src/Resources/Styles/Tree.xaml index 47b7e3e9..fe9b2d7e 100644 --- a/src/Resources/Styles/Tree.xaml +++ b/src/Resources/Styles/Tree.xaml @@ -58,7 +58,7 @@ HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ContentSource="Header" - TextElement.FontFamily="Consolas,SimSun"/> + TextElement.FontFamily="Consolas,Microsoft YaHei UI"/> diff --git a/src/Views/Blame.xaml b/src/Views/Blame.xaml index 8b29d4ee..4a93823a 100644 --- a/src/Views/Blame.xaml +++ b/src/Views/Blame.xaml @@ -88,7 +88,7 @@ - + diff --git a/src/Views/Histories.xaml b/src/Views/Histories.xaml index e80ab579..5b2831be 100644 --- a/src/Views/Histories.xaml +++ b/src/Views/Histories.xaml @@ -110,7 +110,7 @@ diff --git a/src/Views/Widgets/CommitDetail.xaml b/src/Views/Widgets/CommitDetail.xaml index 9732faf9..b4b1c95e 100644 --- a/src/Views/Widgets/CommitDetail.xaml +++ b/src/Views/Widgets/CommitDetail.xaml @@ -175,7 +175,7 @@ Grid.Row="3" Grid.Column="1" x:Name="txtMessage" IsReadOnly="true" - FontFamily="Consolas,SimSun" + FontFamily="Consolas,Microsoft YaHei UI" FontSize="9pt" BorderThickness="0" TextWrapping="Wrap" diff --git a/src/Views/Widgets/Histories.xaml b/src/Views/Widgets/Histories.xaml index e1db19f8..00059a97 100644 --- a/src/Views/Widgets/Histories.xaml +++ b/src/Views/Widgets/Histories.xaml @@ -97,7 +97,7 @@ - + @@ -118,7 +118,7 @@ - + diff --git a/src/Views/Widgets/RevisionCompare.xaml b/src/Views/Widgets/RevisionCompare.xaml index 4da4260b..be24121f 100644 --- a/src/Views/Widgets/RevisionCompare.xaml +++ b/src/Views/Widgets/RevisionCompare.xaml @@ -52,7 +52,7 @@ - + @@ -98,7 +98,7 @@ - +