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,
|
Placeholder,
|
||||||
CultureInfo.CurrentCulture,
|
CultureInfo.CurrentCulture,
|
||||||
FlowDirection.LeftToRight,
|
FlowDirection.LeftToRight,
|
||||||
new Typeface(FontFamily, FontStyle, FontWeight, FontStretch),
|
new Typeface(new FontFamily("Microsoft YaHei UI"), FontStyle, FontWeight, FontStretch),
|
||||||
FontSize,
|
FontSize,
|
||||||
FindResource("Brush.FG2") as Brush,
|
FindResource("Brush.FG2") as Brush,
|
||||||
new NumberSubstitution(),
|
new NumberSubstitution(),
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"
|
Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"
|
||||||
Text="{DynamicResource Text.Init.Tip}"
|
Text="{DynamicResource Text.Init.Tip}"
|
||||||
|
FontFamily="Microsoft YaHei UI"
|
||||||
Foreground="{DynamicResource Brush.FG2}"/>
|
Foreground="{DynamicResource Brush.FG2}"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</controls:PopupWidget>
|
</controls:PopupWidget>
|
||||||
|
|
Loading…
Reference in a new issue