mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
fix<TextEdit>: fix placeholder text blur issue
This commit is contained in:
parent
d32563aebd
commit
303df7a3eb
1 changed files with 3 additions and 1 deletions
|
@ -49,9 +49,11 @@ namespace SourceGit.Views.Controls {
|
||||||
Placeholder,
|
Placeholder,
|
||||||
CultureInfo.CurrentCulture,
|
CultureInfo.CurrentCulture,
|
||||||
FlowDirection.LeftToRight,
|
FlowDirection.LeftToRight,
|
||||||
new Typeface(FontFamily, FontStyle, FontWeight, FontStretches.Normal),
|
new Typeface(FontFamily, FontStyle, FontWeight, FontStretch),
|
||||||
FontSize,
|
FontSize,
|
||||||
FindResource("Brush.FG2") as Brush,
|
FindResource("Brush.FG2") as Brush,
|
||||||
|
new NumberSubstitution(),
|
||||||
|
TextFormattingMode.Display,
|
||||||
VisualTreeHelper.GetDpi(this).PixelsPerDip);
|
VisualTreeHelper.GetDpi(this).PixelsPerDip);
|
||||||
|
|
||||||
switch (PlaceholderBaseline) {
|
switch (PlaceholderBaseline) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue