Skip to content

Commit 55f9857

Browse files
committed
Remove SystemParameters.VerticalScrollBarWidth
1 parent e571204 commit 55f9857

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,7 @@ private void MainPanel_SizeChanged(object sender, SizeChangedEventArgs e)
504504
{
505505
if (sender is not Grid grid) return;
506506

507-
var workingWidth =
508-
(int)(grid.ActualWidth - SystemParameters.VerticalScrollBarWidth); // take into account vertical scrollbar
507+
var workingWidth = grid.ActualWidth;
509508

510509
if (workingWidth <= 0) return;
511510

0 commit comments

Comments
 (0)