From d23e42b93f8d44a895e974049d0704ce51ca3b91 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 19 May 2021 09:04:28 +0800 Subject: [PATCH] style<*>: change font size --- src/Views/Widgets/DiffViewer.xaml.cs | 2 +- src/Views/Widgets/Histories.xaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Views/Widgets/DiffViewer.xaml.cs b/src/Views/Widgets/DiffViewer.xaml.cs index 89be8aaa..b8a13aef 100644 --- a/src/Views/Widgets/DiffViewer.xaml.cs +++ b/src/Views/Widgets/DiffViewer.xaml.cs @@ -448,7 +448,7 @@ namespace SourceGit.Views.Widgets { textContent.SetBinding(TextBlock.ForegroundProperty, new Binding("FG")); textContent.SetBinding(TextBlock.FontStyleProperty, new Binding("Style")); textContent.SetValue(TextBlock.BackgroundProperty, Brushes.Transparent); - textContent.SetValue(TextBlock.FontSizeProperty, new FontSizeConverter().ConvertFrom("10pt")); + textContent.SetValue(TextBlock.FontSizeProperty, new FontSizeConverter().ConvertFrom("9pt")); textContent.SetValue(TextBlock.MarginProperty, new Thickness(0)); textContent.SetValue(TextBlock.PaddingProperty, new Thickness(4, 0, 0, 0)); textContent.SetValue(TextOptions.TextFormattingModeProperty, TextFormattingMode.Display); diff --git a/src/Views/Widgets/Histories.xaml b/src/Views/Widgets/Histories.xaml index 55bf990e..e1db19f8 100644 --- a/src/Views/Widgets/Histories.xaml +++ b/src/Views/Widgets/Histories.xaml @@ -97,7 +97,7 @@ - + @@ -118,7 +118,7 @@ - + @@ -126,7 +126,7 @@ - + @@ -134,7 +134,7 @@ - +