mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
style<TextEdit>: using Microsoft YaHei UI for placeholder in TextEdit
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user