mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-25 03:12:21 +08:00
style<DiffViewer>: padding text in diff viewer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user