Fix TextFormattingMode = Display
https://github.com/2dust/v2rayN/discussions/5740
This commit is contained in:
@@ -186,7 +186,7 @@
|
|||||||
x:Key="WindowGlobal"
|
x:Key="WindowGlobal"
|
||||||
BasedOn="{StaticResource {x:Type Window}}"
|
BasedOn="{StaticResource {x:Type Window}}"
|
||||||
TargetType="{x:Type Window}">
|
TargetType="{x:Type Window}">
|
||||||
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" />
|
<Setter Property="TextOptions.TextFormattingMode" Value="Display" />
|
||||||
<Setter Property="TextOptions.TextRenderingMode" Value="ClearType" />
|
<Setter Property="TextOptions.TextRenderingMode" Value="ClearType" />
|
||||||
<Setter Property="TextOptions.TextHintingMode" Value="Fixed" />
|
<Setter Property="TextOptions.TextHintingMode" Value="Fixed" />
|
||||||
</Style>
|
</Style>
|
||||||
@@ -194,7 +194,7 @@
|
|||||||
x:Key="ViewGlobal"
|
x:Key="ViewGlobal"
|
||||||
BasedOn="{StaticResource {x:Type UserControl}}"
|
BasedOn="{StaticResource {x:Type UserControl}}"
|
||||||
TargetType="{x:Type UserControl}">
|
TargetType="{x:Type UserControl}">
|
||||||
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" />
|
<Setter Property="TextOptions.TextFormattingMode" Value="Display" />
|
||||||
<Setter Property="TextOptions.TextRenderingMode" Value="ClearType" />
|
<Setter Property="TextOptions.TextRenderingMode" Value="ClearType" />
|
||||||
<Setter Property="TextOptions.TextHintingMode" Value="Fixed" />
|
<Setter Property="TextOptions.TextHintingMode" Value="Fixed" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|||||||
Reference in New Issue
Block a user