mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
style<DiffViewer>: padding text in diff viewer
This commit is contained in:
parent
06d98a374d
commit
8ac28ff9e5
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ namespace SourceGit.UI {
|
||||||
textContent.SetValue(TextBlock.BackgroundProperty, Brushes.Transparent);
|
textContent.SetValue(TextBlock.BackgroundProperty, Brushes.Transparent);
|
||||||
textContent.SetValue(TextBlock.FontSizeProperty, 12.0);
|
textContent.SetValue(TextBlock.FontSizeProperty, 12.0);
|
||||||
textContent.SetValue(TextBlock.MarginProperty, new Thickness(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));
|
var visualTree = new FrameworkElementFactory(typeof(Grid));
|
||||||
visualTree.AppendChild(borderContent);
|
visualTree.AppendChild(borderContent);
|
||||||
|
|
Loading…
Reference in a new issue