mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 21:54:59 +00:00
style<*>: text render styles
This commit is contained in:
parent
316344939a
commit
76a4e37736
31 changed files with 139 additions and 144 deletions
|
@ -372,11 +372,6 @@ namespace SourceGit.Views.Widgets {
|
|||
|
||||
var line = new FrameworkElementFactory(typeof(Controls.HighlightableTextBlock));
|
||||
line.SetBinding(Controls.HighlightableTextBlock.DataProperty, new Binding("."));
|
||||
line.SetValue(TextBlock.FontFamilyProperty, new FontFamily("Consolas,Microsoft YaHei UI"));
|
||||
line.SetValue(TextBlock.FontSizeProperty, 13.0);
|
||||
line.SetValue(TextBlock.MarginProperty, new Thickness(0));
|
||||
line.SetValue(TextBlock.PaddingProperty, new Thickness(4, 0, 0, 0));
|
||||
line.SetValue(TextBlock.LineHeightProperty, 16.0);
|
||||
|
||||
var colContent = new DataGridTemplateColumn();
|
||||
colContent.CellTemplate = new DataTemplate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue