From 4d2eb324f1d3c48abd7a20720d175266f0820a19 Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Thu, 5 Dec 2024 10:39:08 +0800
Subject: [PATCH] Adjust UI
https://github.com/2dust/v2rayN/issues/6217
---
.../Views/RoutingRuleSettingWindow.axaml | 6 +++---
.../v2rayN.Desktop/Views/RoutingSettingWindow.axaml | 6 +++---
v2rayN/v2rayN.Desktop/Views/SubEditWindow.axaml | 4 +---
v2rayN/v2rayN.Desktop/Views/SubSettingWindow.axaml | 8 +++-----
v2rayN/v2rayN/Views/RoutingRuleSettingWindow.xaml | 13 +++++++------
v2rayN/v2rayN/Views/RoutingSettingWindow.xaml | 7 ++++---
v2rayN/v2rayN/Views/SubEditWindow.xaml | 8 ++++----
v2rayN/v2rayN/Views/SubSettingWindow.xaml | 7 ++++---
8 files changed, 29 insertions(+), 30 deletions(-)
diff --git a/v2rayN/v2rayN.Desktop/Views/RoutingRuleSettingWindow.axaml b/v2rayN/v2rayN.Desktop/Views/RoutingRuleSettingWindow.axaml
index 52a2939b..70c3b2c1 100644
--- a/v2rayN/v2rayN.Desktop/Views/RoutingRuleSettingWindow.axaml
+++ b/v2rayN/v2rayN.Desktop/Views/RoutingRuleSettingWindow.axaml
@@ -7,7 +7,7 @@
xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib"
xmlns:vms="clr-namespace:ServiceLib.ViewModels;assembly=ServiceLib"
Title="{x:Static resx:ResUI.menuRoutingRuleSetting}"
- Width="960"
+ Width="1000"
Height="700"
x:DataType="vms:RoutingRuleSettingViewModel"
ShowInTaskbar="False"
@@ -237,11 +237,11 @@
Binding="{Binding Network}"
Header="network" />
diff --git a/v2rayN/v2rayN.Desktop/Views/RoutingSettingWindow.axaml b/v2rayN/v2rayN.Desktop/Views/RoutingSettingWindow.axaml
index 00589a60..53c6f200 100644
--- a/v2rayN/v2rayN.Desktop/Views/RoutingSettingWindow.axaml
+++ b/v2rayN/v2rayN.Desktop/Views/RoutingSettingWindow.axaml
@@ -7,7 +7,7 @@
xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib"
xmlns:vms="clr-namespace:ServiceLib.ViewModels;assembly=ServiceLib"
Title="{x:Static resx:ResUI.menuRoutingSetting}"
- Width="990"
+ Width="1000"
Height="700"
x:DataType="vms:RoutingSettingViewModel"
ShowInTaskbar="False"
@@ -109,7 +109,7 @@
diff --git a/v2rayN/v2rayN.Desktop/Views/SubSettingWindow.axaml b/v2rayN/v2rayN.Desktop/Views/SubSettingWindow.axaml
index 6e4ad3a9..fe079f48 100644
--- a/v2rayN/v2rayN.Desktop/Views/SubSettingWindow.axaml
+++ b/v2rayN/v2rayN.Desktop/Views/SubSettingWindow.axaml
@@ -8,10 +8,8 @@
xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib"
xmlns:vms="clr-namespace:ServiceLib.ViewModels;assembly=ServiceLib"
Title="{x:Static resx:ResUI.menuSubSetting}"
- Width="800"
- Height="600"
- d:DesignHeight="450"
- d:DesignWidth="800"
+ Width="1000"
+ Height="700"
x:DataType="vms:SubSettingViewModel"
ShowInTaskbar="False"
WindowStartupLocation="CenterScreen"
@@ -49,7 +47,7 @@
diff --git a/v2rayN/v2rayN/Views/RoutingSettingWindow.xaml b/v2rayN/v2rayN/Views/RoutingSettingWindow.xaml
index 0793adee..97eb5754 100644
--- a/v2rayN/v2rayN/Views/RoutingSettingWindow.xaml
+++ b/v2rayN/v2rayN/Views/RoutingSettingWindow.xaml
@@ -9,9 +9,10 @@
xmlns:resx="clr-namespace:ServiceLib.Resx;assembly=ServiceLib"
xmlns:vms="clr-namespace:ServiceLib.ViewModels;assembly=ServiceLib"
Title="{x:Static resx:ResUI.menuRoutingSetting}"
- Width="990"
+ Width="1000"
Height="700"
x:TypeArguments="vms:RoutingSettingViewModel"
+ ResizeMode="CanResize"
ShowInTaskbar="False"
Style="{StaticResource WindowGlobal}"
WindowStartupLocation="CenterScreen"
@@ -174,7 +175,7 @@