style<*>: change font render mode

This commit is contained in:
leo 2021-05-17 16:47:56 +08:00
parent 0b581752fb
commit a94a62bd27
10 changed files with 53 additions and 45 deletions

View file

@ -9,9 +9,11 @@
xmlns:models="clr-namespace:SourceGit.Models"
mc:Ignorable="d"
UseLayoutRounding="True"
Title="{StaticResource Text.About.Title}"
MinWidth="1280" MinHeight="720"
WindowStartupLocation="CenterScreen"
TextOptions.TextFormattingMode="Display"
TextOptions.TextRenderingMode="ClearType"
MinWidth="1280" MinHeight="720"
Title="{StaticResource Text.About.Title}"
Width="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Width, Mode=TwoWay}"
Height="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Height, Mode=TwoWay}">
<WindowChrome.WindowChrome>