diff --git a/v2rayN/v2rayN/Views/AddServer2Window.xaml b/v2rayN/v2rayN/Views/AddServer2Window.xaml index 4e8b003c..d402ef3d 100644 --- a/v2rayN/v2rayN/Views/AddServer2Window.xaml +++ b/v2rayN/v2rayN/Views/AddServer2Window.xaml @@ -1,14 +1,14 @@  diff --git a/v2rayN/v2rayN/Views/AddServerWindow.xaml b/v2rayN/v2rayN/Views/AddServerWindow.xaml index 64fa23ec..555b669e 100644 --- a/v2rayN/v2rayN/Views/AddServerWindow.xaml +++ b/v2rayN/v2rayN/Views/AddServerWindow.xaml @@ -1,14 +1,14 @@  @@ -179,6 +180,7 @@ Grid.Row="1" Grid.Column="2" Margin="4,0" + Click="btnGUID_Click" Content="{x:Static resx:ResUI.TbGUID}" Style="{StaticResource DefButton}" /> @@ -338,6 +340,7 @@ Grid.Row="1" Grid.Column="2" Margin="4,0" + Click="btnGUID_Click" Content="{x:Static resx:ResUI.TbGUID}" Style="{StaticResource DefButton}" /> diff --git a/v2rayN/v2rayN/Views/DNSSettingWindow.xaml b/v2rayN/v2rayN/Views/DNSSettingWindow.xaml index 7776e418..55a77771 100644 --- a/v2rayN/v2rayN/Views/DNSSettingWindow.xaml +++ b/v2rayN/v2rayN/Views/DNSSettingWindow.xaml @@ -7,8 +7,8 @@ xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:reactiveui="http://reactiveui.net" - xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib" - xmlns:vms="clr-namespace:ServiceLib.ViewModels;assembly=ServiceLib" + xmlns:resx="clr-namespace:v2rayN.Resx" + xmlns:vms="clr-namespace:v2rayN.ViewModels" Title="{x:Static resx:ResUI.menuDNSSetting}" Width="1000" Height="700" @@ -19,8 +19,9 @@ ShowInTaskbar="False" TextElement.FontFamily="{x:Static conv:MaterialDesignFonts.MyFont}" TextElement.Foreground="{DynamicResource MaterialDesignBody}" - TextOptions.TextFormattingMode="Display" - TextOptions.TextRenderingMode="Auto" + TextOptions.TextFormattingMode="Ideal" + TextOptions.TextRenderingMode="ClearType" + TextOptions.TextHintingMode="Fixed" WindowStartupLocation="CenterScreen" mc:Ignorable="d"> diff --git a/v2rayN/v2rayN/Views/GlobalHotkeySettingWindow.xaml b/v2rayN/v2rayN/Views/GlobalHotkeySettingWindow.xaml index 37bf6e23..fc60a163 100644 --- a/v2rayN/v2rayN/Views/GlobalHotkeySettingWindow.xaml +++ b/v2rayN/v2rayN/Views/GlobalHotkeySettingWindow.xaml @@ -7,8 +7,8 @@ xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:reactiveui="http://reactiveui.net" - xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib" - xmlns:vms="clr-namespace:ServiceLib.ViewModels;assembly=ServiceLib" + xmlns:resx="clr-namespace:v2rayN.Resx" + xmlns:vms="clr-namespace:v2rayN.ViewModels" Title="{x:Static resx:ResUI.menuSetting}" Width="700" Height="500" @@ -20,8 +20,9 @@ ShowInTaskbar="False" TextElement.FontFamily="{x:Static conv:MaterialDesignFonts.MyFont}" TextElement.Foreground="{DynamicResource MaterialDesignBody}" - TextOptions.TextFormattingMode="Display" - TextOptions.TextRenderingMode="Auto" + TextOptions.TextFormattingMode="Ideal" + TextOptions.TextRenderingMode="ClearType" + TextOptions.TextHintingMode="Fixed" WindowStartupLocation="CenterScreen" mc:Ignorable="d"> @@ -34,11 +35,13 @@ x:Name="btnReset" Width="100" Margin="8,0" + Click="btnReset_Click" Content="{x:Static resx:ResUI.TbReset}" Style="{StaticResource DefButton}" /> -