mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
style<*>: change font size
This commit is contained in:
parent
5772a9c171
commit
d23e42b93f
2 changed files with 5 additions and 5 deletions
|
@ -448,7 +448,7 @@ namespace SourceGit.Views.Widgets {
|
||||||
textContent.SetBinding(TextBlock.ForegroundProperty, new Binding("FG"));
|
textContent.SetBinding(TextBlock.ForegroundProperty, new Binding("FG"));
|
||||||
textContent.SetBinding(TextBlock.FontStyleProperty, new Binding("Style"));
|
textContent.SetBinding(TextBlock.FontStyleProperty, new Binding("Style"));
|
||||||
textContent.SetValue(TextBlock.BackgroundProperty, Brushes.Transparent);
|
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.MarginProperty, new Thickness(0));
|
||||||
textContent.SetValue(TextBlock.PaddingProperty, new Thickness(4, 0, 0, 0));
|
textContent.SetValue(TextBlock.PaddingProperty, new Thickness(4, 0, 0, 0));
|
||||||
textContent.SetValue(TextOptions.TextFormattingModeProperty, TextFormattingMode.Display);
|
textContent.SetValue(TextOptions.TextFormattingModeProperty, TextFormattingMode.Display);
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
</ItemsControl.ItemTemplate>
|
</ItemsControl.ItemTemplate>
|
||||||
</ItemsControl>
|
</ItemsControl>
|
||||||
|
|
||||||
<TextBlock Text="{Binding Subject}" FontFamily="Consolas,SimSun" FontSize="10pt" Margin="2,0,0,0"/>
|
<TextBlock Text="{Binding Subject}" FontFamily="Consolas,SimSun" FontSize="9pt" Margin="2,0,0,0"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</DataGridTemplateColumn.CellTemplate>
|
</DataGridTemplateColumn.CellTemplate>
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
<DataGridTemplateColumn Width="SizeToCells" MinWidth="56" IsReadOnly="True">
|
<DataGridTemplateColumn Width="SizeToCells" MinWidth="56" IsReadOnly="True">
|
||||||
<DataGridTemplateColumn.CellTemplate>
|
<DataGridTemplateColumn.CellTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<TextBlock Text="{Binding Committer.Name}" FontFamily="Consolas,SimSun" FontSize="10pt" Margin="0,0,8,0"/>
|
<TextBlock Text="{Binding Committer.Name}" FontFamily="Consolas,SimSun" FontSize="9pt" Margin="0,0,8,0"/>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</DataGridTemplateColumn.CellTemplate>
|
</DataGridTemplateColumn.CellTemplate>
|
||||||
</DataGridTemplateColumn>
|
</DataGridTemplateColumn>
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
<DataGridTemplateColumn Width="72" IsReadOnly="True">
|
<DataGridTemplateColumn Width="72" IsReadOnly="True">
|
||||||
<DataGridTemplateColumn.CellTemplate>
|
<DataGridTemplateColumn.CellTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<TextBlock Text="{Binding ShortSHA}" FontSize="10pt"/>
|
<TextBlock Text="{Binding ShortSHA}" FontSize="9pt"/>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</DataGridTemplateColumn.CellTemplate>
|
</DataGridTemplateColumn.CellTemplate>
|
||||||
</DataGridTemplateColumn>
|
</DataGridTemplateColumn>
|
||||||
|
@ -134,7 +134,7 @@
|
||||||
<DataGridTemplateColumn Width="SizeToCells" IsReadOnly="True">
|
<DataGridTemplateColumn Width="SizeToCells" IsReadOnly="True">
|
||||||
<DataGridTemplateColumn.CellTemplate>
|
<DataGridTemplateColumn.CellTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<TextBlock Text="{Binding Committer.Time}" FontSize="10pt"/>
|
<TextBlock Text="{Binding Committer.Time}" FontSize="9pt"/>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</DataGridTemplateColumn.CellTemplate>
|
</DataGridTemplateColumn.CellTemplate>
|
||||||
</DataGridTemplateColumn>
|
</DataGridTemplateColumn>
|
||||||
|
|
Loading…
Reference in a new issue