From 7989d5180b34a42bca31bbf10a62c7ecd6545120 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 4 Feb 2023 14:25:21 +0800 Subject: [PATCH] adjust style --- v2rayN/v2rayN/App.xaml | 46 +++++++--- v2rayN/v2rayN/Views/AddServer2Window.xaml | 7 +- v2rayN/v2rayN/Views/AddServerWindow.xaml | 42 ++++++--- .../Views/GlobalHotkeySettingWindow.xaml | 10 +-- v2rayN/v2rayN/Views/MainWindow.xaml | 8 +- v2rayN/v2rayN/Views/MsgView.xaml | 7 +- v2rayN/v2rayN/Views/OptionSettingWindow.xaml | 89 +++++++++++++------ .../Views/RoutingRuleDetailsWindow.xaml | 13 ++- .../Views/RoutingRuleSettingWindow.xaml | 3 + v2rayN/v2rayN/Views/RoutingSettingWindow.xaml | 18 ++-- v2rayN/v2rayN/Views/SubEditWindow.xaml | 10 +-- 11 files changed, 171 insertions(+), 82 deletions(-) diff --git a/v2rayN/v2rayN/App.xaml b/v2rayN/v2rayN/App.xaml index 66027569..12b81534 100644 --- a/v2rayN/v2rayN/App.xaml +++ b/v2rayN/v2rayN/App.xaml @@ -17,6 +17,9 @@ 26 + 12 + 14 + 16 - + - @@ -99,7 +99,7 @@ x:Key="ToolbarMenu" BasedOn="{StaticResource MaterialDesignMenu}" TargetType="{x:Type Menu}"> - + @@ -107,15 +107,35 @@ x:Key="DefComboBox" BasedOn="{StaticResource MaterialDesignComboBox}" TargetType="{x:Type ComboBox}"> - + + + + + + diff --git a/v2rayN/v2rayN/Views/AddServer2Window.xaml b/v2rayN/v2rayN/Views/AddServer2Window.xaml index f1a4fff3..8f0de688 100644 --- a/v2rayN/v2rayN/Views/AddServer2Window.xaml +++ b/v2rayN/v2rayN/Views/AddServer2Window.xaml @@ -73,7 +73,7 @@ Margin="4" VerticalAlignment="Top" AcceptsReturn="True" - Style="{StaticResource MaterialDesignOutlinedTextBox}" /> + Style="{StaticResource MyOutlinedTextBox}" /> + Style="{StaticResource MyOutlinedTextBox}" /> @@ -157,7 +158,7 @@ Margin="4" HorizontalAlignment="Left" AcceptsReturn="True" - Style="{StaticResource MaterialDesignOutlinedTextBox}" /> + Style="{StaticResource MyOutlinedTextBox}" /> + Margin="{StaticResource ServerItemMargin}" + Style="{StaticResource DefTextBox}" /> + Margin="{StaticResource ServerItemMargin}" + Style="{StaticResource DefTextBox}" /> + HorizontalAlignment="Left" + Style="{StaticResource DefTextBox}" /> + Margin="{StaticResource ServerItemMargin}" + Style="{StaticResource DefTextBox}" />