From f00f2975fe0f0112c610e3757179807d418bceb1 Mon Sep 17 00:00:00 2001 From: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com> Date: Wed, 6 Dec 2023 23:35:26 +0100 Subject: [PATCH] [PT Run] Fix Max number of results setting (#30224) --- src/modules/launcher/PowerLauncher/MainWindow.xaml | 3 ++- .../launcher/PowerLauncher/ViewModel/ResultsViewModel.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/launcher/PowerLauncher/MainWindow.xaml b/src/modules/launcher/PowerLauncher/MainWindow.xaml index 6a9e00ba3f..38aa120e02 100644 --- a/src/modules/launcher/PowerLauncher/MainWindow.xaml +++ b/src/modules/launcher/PowerLauncher/MainWindow.xaml @@ -27,7 +27,8 @@ Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" WindowStartupLocation="Manual" WindowStyle="None" - mc:Ignorable="d"> + mc:Ignorable="d" + MinHeight="0"> diff --git a/src/modules/launcher/PowerLauncher/ViewModel/ResultsViewModel.cs b/src/modules/launcher/PowerLauncher/ViewModel/ResultsViewModel.cs index 29623ded3c..65b505106e 100644 --- a/src/modules/launcher/PowerLauncher/ViewModel/ResultsViewModel.cs +++ b/src/modules/launcher/PowerLauncher/ViewModel/ResultsViewModel.cs @@ -50,7 +50,7 @@ namespace PowerLauncher.ViewModel { get { - return _settings.MaxResultsToShow * 75; + return (_settings.MaxResultsToShow * 50) + 40; } }