From 2ab79afa02b2e0d0c6f131ad0ceba93229c52de0 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Thu, 11 Sep 2025 13:49:10 +0800 Subject: [PATCH] Adjust UI --- v2rayN/ServiceLib/Resx/ResUI.Designer.cs | 9 ++ v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx | 3 + v2rayN/ServiceLib/Resx/ResUI.hu.resx | 3 + v2rayN/ServiceLib/Resx/ResUI.resx | 3 + v2rayN/ServiceLib/Resx/ResUI.ru.resx | 3 + v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx | 3 + v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx | 3 + .../Views/AddGroupServerWindow.axaml | 99 ++++++------ v2rayN/v2rayN/Views/AddGroupServerWindow.xaml | 152 +++++++++--------- 9 files changed, 152 insertions(+), 126 deletions(-) diff --git a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs index 2c3a9fee..ed9ff30e 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs +++ b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs @@ -1563,6 +1563,15 @@ namespace ServiceLib.Resx { } } + /// + /// 查找类似 Server List 的本地化字符串。 + /// + public static string menuServerList { + get { + return ResourceManager.GetString("menuServerList", resourceCulture); + } + } + /// /// 查找类似 Configurations 的本地化字符串。 /// diff --git a/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx b/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx index afd80366..298c6985 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx @@ -1551,4 +1551,7 @@ Remove Child Configuration + + Server List + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.hu.resx b/v2rayN/ServiceLib/Resx/ResUI.hu.resx index a3c8117d..2cf7079f 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.hu.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.hu.resx @@ -1551,4 +1551,7 @@ Remove Child Configuration + + Server List + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.resx b/v2rayN/ServiceLib/Resx/ResUI.resx index dc8bb099..1797529a 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.resx @@ -1551,4 +1551,7 @@ Remove Child Configuration + + Server List + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.ru.resx b/v2rayN/ServiceLib/Resx/ResUI.ru.resx index 1ab61fe4..e8e49b1c 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.ru.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.ru.resx @@ -1551,4 +1551,7 @@ Remove Child Configuration + + Server List + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx index a60e4491..b5e33956 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx @@ -1548,4 +1548,7 @@ 删除子配置文件 + + 服务器列表 + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx b/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx index 6e29a259..bf538e1a 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx @@ -1548,4 +1548,7 @@ Remove Child Configuration + + Server List + \ No newline at end of file diff --git a/v2rayN/v2rayN.Desktop/Views/AddGroupServerWindow.axaml b/v2rayN/v2rayN.Desktop/Views/AddGroupServerWindow.axaml index 836db47f..e24fa67c 100644 --- a/v2rayN/v2rayN.Desktop/Views/AddGroupServerWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/AddGroupServerWindow.axaml @@ -33,64 +33,65 @@ IsCancel="True" /> - - + + + + + + + + + + + x:Name="gridPolicyGroup" + Grid.Row="3" + Grid.Column="0" + Grid.ColumnSpan="3" + ColumnDefinitions="180,Auto,Auto"> - - - - - + Text="{x:Static resx:ResUI.TbPolicyGroupType}" /> - - - - - - + + + + - - + + diff --git a/v2rayN/v2rayN/Views/AddGroupServerWindow.xaml b/v2rayN/v2rayN/Views/AddGroupServerWindow.xaml index 41428b3b..56fb7211 100644 --- a/v2rayN/v2rayN/Views/AddGroupServerWindow.xaml +++ b/v2rayN/v2rayN/Views/AddGroupServerWindow.xaml @@ -13,6 +13,7 @@ Width="900" Height="700" x:TypeArguments="vms:AddGroupServerViewModel" + ResizeMode="CanResize" ShowInTaskbar="False" Style="{StaticResource WindowGlobal}" WindowStartupLocation="CenterScreen" @@ -38,107 +39,104 @@ IsCancel="true" Style="{StaticResource DefButton}" /> - - + + + + + + + + + + + + + + - - - - + + + + + - - - - - - - - + + + + + + + + + + - - - - - - - + Text="{x:Static resx:ResUI.TbPolicyGroupType}" /> - - - - - - - - - - - + + + + - - + +