From 55f9857dec3db0ed5e406f23415305030aa1ca79 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Mon, 15 Sep 2025 18:59:01 +0800 Subject: [PATCH] Remove SystemParameters.VerticalScrollBarWidth --- Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs b/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs index 43ea6a508..9212dada6 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs @@ -504,8 +504,7 @@ namespace Flow.Launcher.Core.Plugin { if (sender is not Grid grid) return; - var workingWidth = - (int)(grid.ActualWidth - SystemParameters.VerticalScrollBarWidth); // take into account vertical scrollbar + var workingWidth = grid.ActualWidth; if (workingWidth <= 0) return;