From 49fa10307754f2be3f7753f9526c9349d58ec605 Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Sun, 31 Aug 2025 14:08:05 +0800
Subject: [PATCH] Optimize UI
---
v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml | 4 ++++
v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml | 8 ++++----
v2rayN/v2rayN.Desktop/Views/RoutingSettingWindow.axaml | 4 ----
v2rayN/v2rayN/Views/DNSSettingWindow.xaml | 8 ++++----
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml b/v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml
index 40337f61..6a2cfacd 100644
--- a/v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml
+++ b/v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml
@@ -22,4 +22,8 @@
+
+
diff --git a/v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml b/v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml
index c9cf690b..18f294d3 100644
--- a/v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml
+++ b/v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml
@@ -59,7 +59,7 @@
x:Name="cmbDirectDNS"
Grid.Row="1"
Grid.Column="1"
- Width="200"
+ Width="300"
Margin="{StaticResource Margin4}"
Text="{Binding DirectDNS, Mode=TwoWay}" />
@@ -73,7 +73,7 @@
x:Name="cmbRemoteDNS"
Grid.Row="2"
Grid.Column="1"
- Width="200"
+ Width="300"
Margin="{StaticResource Margin4}"
Text="{Binding RemoteDNS, Mode=TwoWay}" />
@@ -87,7 +87,7 @@
x:Name="cmbSBResolverDNS"
Grid.Row="3"
Grid.Column="1"
- Width="200"
+ Width="300"
Margin="{StaticResource Margin4}"
Text="{Binding SingboxOutboundsResolveDNS, Mode=TwoWay}" />
-
diff --git a/v2rayN/v2rayN/Views/DNSSettingWindow.xaml b/v2rayN/v2rayN/Views/DNSSettingWindow.xaml
index 38be6091..b0f2062c 100644
--- a/v2rayN/v2rayN/Views/DNSSettingWindow.xaml
+++ b/v2rayN/v2rayN/Views/DNSSettingWindow.xaml
@@ -80,7 +80,7 @@
x:Name="cmbDirectDNS"
Grid.Row="1"
Grid.Column="1"
- Width="200"
+ Width="300"
Margin="{StaticResource Margin8}"
IsEditable="True"
Style="{StaticResource DefComboBox}" />
@@ -96,7 +96,7 @@
x:Name="cmbRemoteDNS"
Grid.Row="2"
Grid.Column="1"
- Width="200"
+ Width="300"
Margin="{StaticResource Margin8}"
IsEditable="True"
Style="{StaticResource DefComboBox}" />
@@ -112,7 +112,7 @@
x:Name="cmbSBResolverDNS"
Grid.Row="3"
Grid.Column="1"
- Width="200"
+ Width="300"
Margin="{StaticResource Margin8}"
IsEditable="True"
Style="{StaticResource DefComboBox}" />
@@ -136,7 +136,7 @@
x:Name="cmbSBFinalResolverDNS"
Grid.Row="4"
Grid.Column="1"
- Width="200"
+ Width="300"
Margin="{StaticResource Margin8}"
IsEditable="True"
Style="{StaticResource DefComboBox}" />