mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
style<TextEdit>: using Microsoft YaHei UI for placeholder in TextEdit
This commit is contained in:
parent
580ff565d8
commit
2309f9c126
2 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,7 @@ namespace SourceGit.Views.Controls {
|
|||
Placeholder,
|
||||
CultureInfo.CurrentCulture,
|
||||
FlowDirection.LeftToRight,
|
||||
new Typeface(FontFamily, FontStyle, FontWeight, FontStretch),
|
||||
new Typeface(new FontFamily("Microsoft YaHei UI"), FontStyle, FontWeight, FontStretch),
|
||||
FontSize,
|
||||
FindResource("Brush.FG2") as Brush,
|
||||
new NumberSubstitution(),
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
<TextBlock
|
||||
Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"
|
||||
Text="{DynamicResource Text.Init.Tip}"
|
||||
FontFamily="Microsoft YaHei UI"
|
||||
Foreground="{DynamicResource Brush.FG2}"/>
|
||||
</Grid>
|
||||
</controls:PopupWidget>
|
||||
|
|
Loading…
Reference in a new issue