From bf83dbdfea2ad6c0901517a3907b88a55ecc6d36 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 29 Mar 2025 20:42:02 +0800 Subject: [PATCH] Global setting ScrollViewer AllowAutoHide = False for desktop --- v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml | 9 +++++++++ v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml b/v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml index f098c097..40337f61 100644 --- a/v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml +++ b/v2rayN/v2rayN.Desktop/Assets/GlobalStyles.axaml @@ -7,10 +7,19 @@ + + + + diff --git a/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml b/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml index 4524934d..a08d3037 100644 --- a/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml +++ b/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml @@ -81,11 +81,11 @@ BorderThickness="1" CanUserReorderColumns="True" CanUserResizeColumns="True" + Classes.InsetContent="True" GridLinesVisibility="All" HeadersVisibility="All" IsReadOnly="True" - ItemsSource="{Binding ProfileItems}" - ScrollViewer.AllowAutoHide="False"> + ItemsSource="{Binding ProfileItems}">