From 7e712fcdeb94eea27de1cd11d7840ae2d7744081 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri, 14 Nov 2025 19:44:09 +0800 Subject: [PATCH] Refactor menu layouts in window views --- v2rayN/v2rayN.Desktop/Views/MainWindow.axaml | 51 +++++++++---------- .../Views/RoutingRuleSettingWindow.axaml | 17 +++---- .../Views/RoutingSettingWindow.axaml | 14 ++--- .../Views/SubSettingWindow.axaml | 21 +++----- v2rayN/v2rayN/Views/MainWindow.xaml | 19 +------ 5 files changed, 43 insertions(+), 79 deletions(-) diff --git a/v2rayN/v2rayN.Desktop/Views/MainWindow.axaml b/v2rayN/v2rayN.Desktop/Views/MainWindow.axaml index 5a391134..4eb8392e 100644 --- a/v2rayN/v2rayN.Desktop/Views/MainWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/MainWindow.axaml @@ -24,13 +24,8 @@ - - - - - - - + + @@ -51,12 +46,7 @@ - - - - - - + @@ -65,20 +55,24 @@ - - - - - - + - + - - + + @@ -90,15 +84,16 @@ - + - + + + + - + - - - + diff --git a/v2rayN/v2rayN.Desktop/Views/RoutingRuleSettingWindow.axaml b/v2rayN/v2rayN.Desktop/Views/RoutingRuleSettingWindow.axaml index 7e51192e..8f50f883 100644 --- a/v2rayN/v2rayN.Desktop/Views/RoutingRuleSettingWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/RoutingRuleSettingWindow.axaml @@ -14,17 +14,12 @@ WindowStartupLocation="CenterScreen" mc:Ignorable="d"> - - - - - - - - + + + + + + - - - - - - + + + + - - - - - - - - - + + + + + + + - \ No newline at end of file + diff --git a/v2rayN/v2rayN/Views/MainWindow.xaml b/v2rayN/v2rayN/Views/MainWindow.xaml index 908eb710..25b44106 100644 --- a/v2rayN/v2rayN/Views/MainWindow.xaml +++ b/v2rayN/v2rayN/Views/MainWindow.xaml @@ -246,23 +246,6 @@ - - - - - - - - - - - + +