From de21a43a81a36fd9fb1c5589c60c757dcce1d542 Mon Sep 17 00:00:00 2001 From: DB p Date: Fri, 11 Apr 2025 07:23:21 +0900 Subject: [PATCH] Adjust Template --- Flow.Launcher/Languages/en.xaml | 1 + .../Resources/Controls/InstalledPluginDisplay.xaml | 5 ++++- Flow.Launcher/Resources/CustomControlTemplate.xaml | 8 +++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 609859d0d..a7fbca90a 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -109,6 +109,7 @@ Shadow effect is not allowed while current theme has blur effect enabled Search Delay Adds a short delay while typing to reduce UI flicker and result load. Recommended if your typing speed is average. + Enter the wait time (in ms) until input is considered complete. This can only be edited if Search Delay is enabled. Default Search Delay Time Wait time before showing results after typing stops. Higher values wait longer. (ms) diff --git a/Flow.Launcher/Resources/Controls/InstalledPluginDisplay.xaml b/Flow.Launcher/Resources/Controls/InstalledPluginDisplay.xaml index 231036244..619da22dc 100644 --- a/Flow.Launcher/Resources/Controls/InstalledPluginDisplay.xaml +++ b/Flow.Launcher/Resources/Controls/InstalledPluginDisplay.xaml @@ -96,8 +96,11 @@ PlaceholderText="{Binding DefaultSearchDelay}" SmallChange="10" SpinButtonPlacementMode="Compact" - ToolTip="{DynamicResource searchDelayToolTip}" + ToolTip="{DynamicResource searchDelayNumberBoxToolTip}" + ToolTipService.InitialShowDelay="0" + ToolTipService.ShowOnDisabled="True" Value="{Binding PluginSearchDelayTime, Mode=TwoWay}" /> + diff --git a/Flow.Launcher/Resources/CustomControlTemplate.xaml b/Flow.Launcher/Resources/CustomControlTemplate.xaml index c18d5fa60..ae3cc8018 100644 --- a/Flow.Launcher/Resources/CustomControlTemplate.xaml +++ b/Flow.Launcher/Resources/CustomControlTemplate.xaml @@ -2784,10 +2784,12 @@ - + - + + + @@ -2873,7 +2875,7 @@ FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" - Foreground="{TemplateBinding Foreground}" + Foreground="{DynamicResource ForeGround}" InputScope="{TemplateBinding InputScope}" SelectionBrush="{TemplateBinding SelectionBrush}" TextAlignment="{TemplateBinding TextAlignment}" />