From 8ac28ff9e52074a78c2e5fe5a219261d85a46fb8 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 15 Dec 2020 13:25:23 +0800 Subject: [PATCH] style: padding text in diff viewer --- src/UI/DiffViewer.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/DiffViewer.xaml.cs b/src/UI/DiffViewer.xaml.cs index b5bce41f..aa04b18c 100644 --- a/src/UI/DiffViewer.xaml.cs +++ b/src/UI/DiffViewer.xaml.cs @@ -441,7 +441,7 @@ namespace SourceGit.UI { textContent.SetValue(TextBlock.BackgroundProperty, Brushes.Transparent); textContent.SetValue(TextBlock.FontSizeProperty, 12.0); textContent.SetValue(TextBlock.MarginProperty, new Thickness(0)); - textContent.SetValue(TextBlock.PaddingProperty, new Thickness(0)); + textContent.SetValue(TextBlock.PaddingProperty, new Thickness(4,0,0,0)); var visualTree = new FrameworkElementFactory(typeof(Grid)); visualTree.AppendChild(borderContent);