From 1a5eeb94012c367ad74d6600cbfc4de80d11834d Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Thu, 9 Jan 2025 21:03:17 +0800
Subject: [PATCH] Adjust UI for desktop
---
.../Views/BackupAndRestoreView.axaml | 10 +++++--
.../Views/CheckUpdateView.axaml | 18 ++++++-------
v2rayN/v2rayN.Desktop/Views/MsgView.axaml | 4 +--
.../Views/OptionSettingWindow.axaml | 2 +-
.../v2rayN.Desktop/Views/ProfilesView.axaml | 2 +-
.../Views/RoutingRuleDetailsWindow.axaml | 4 +--
.../Views/RoutingSettingWindow.axaml | 27 ++++++-------------
.../v2rayN.Desktop/Views/StatusBarView.axaml | 2 +-
v2rayN/v2rayN/Views/CheckUpdateView.xaml | 1 -
9 files changed, 31 insertions(+), 39 deletions(-)
diff --git a/v2rayN/v2rayN.Desktop/Views/BackupAndRestoreView.axaml b/v2rayN/v2rayN.Desktop/Views/BackupAndRestoreView.axaml
index ecd12276..6023ca89 100644
--- a/v2rayN/v2rayN.Desktop/Views/BackupAndRestoreView.axaml
+++ b/v2rayN/v2rayN.Desktop/Views/BackupAndRestoreView.axaml
@@ -10,6 +10,12 @@
d:DesignWidth="800"
x:DataType="vms:BackupAndRestoreViewModel"
mc:Ignorable="d">
+
+
+
+
@@ -23,7 +29,7 @@
+ Theme="{DynamicResource CardBorder}">
+ Theme="{DynamicResource CardBorder}">
-
+
+
-
+
-
+
-
+
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN.Desktop/Views/MsgView.axaml b/v2rayN/v2rayN.Desktop/Views/MsgView.axaml
index 99dd5121..041c992a 100644
--- a/v2rayN/v2rayN.Desktop/Views/MsgView.axaml
+++ b/v2rayN/v2rayN.Desktop/Views/MsgView.axaml
@@ -65,7 +65,7 @@
Margin="8,0"
HorizontalAlignment="Left"
IsChecked="True"
- Theme="{StaticResource SimpleToggleSwitch}" />
+ Theme="{DynamicResource SimpleToggleSwitch}" />
+ Theme="{DynamicResource SimpleToggleSwitch}" />
+ Theme="{DynamicResource TagLabel}" />
+ Orientation="Horizontal"
+ Spacing="4">
-
+
-
+
-
-
+
+
-
+
-
+
+ Theme="{DynamicResource SimpleToggleSwitch}" />