Skip to content

Commit 798fd90

Browse files
committed
Add Tooltip for searchboxes
1 parent 9f3d2e1 commit 798fd90

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Flow.Launcher/Languages/en.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060

6161
<!-- Setting Plugin -->
6262
<system:String x:Key="searchplugin">Search Plugin</system:String>
63+
<system:String x:Key="searchpluginToolTip">Ctrl+F to Search Plugins</system:String>
6364
<system:String x:Key="searchplugin_Noresult_Title">No results to display</system:String>
6465
<system:String x:Key="searchplugin_Noresult_Subtitle">Try another search term.</system:String>
6566
<system:String x:Key="searchplugin_Noresult_Subtitle_Network">Please check your network connection or try another search term.</system:String>

Flow.Launcher/SettingWindow.xaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,10 @@
972972
KeyDown="PluginFilterTxb_OnKeyDown"
973973
LostFocus="RefreshPluginListEventHandler"
974974
Text=""
975-
TextAlignment="Left">
975+
TextAlignment="Left"
976+
ToolTip="{DynamicResource searchpluginToolTip}"
977+
ToolTipService.InitialShowDelay="200"
978+
ToolTipService.Placement="Top">
976979
<TextBox.Style>
977980
<Style BasedOn="{StaticResource DefaultTextBoxStyle}" TargetType="TextBox">
978981
<Style.Resources>
@@ -1384,7 +1387,10 @@
13841387
KeyDown="PluginStoreFilterTxb_OnKeyDown"
13851388
LostFocus="RefreshPluginStoreEventHandler"
13861389
Text=""
1387-
TextAlignment="Left">
1390+
TextAlignment="Left"
1391+
ToolTip="{DynamicResource searchpluginToolTip}"
1392+
ToolTipService.InitialShowDelay="200"
1393+
ToolTipService.Placement="Top">
13881394
<TextBox.Style>
13891395
<Style BasedOn="{StaticResource DefaultTextBoxStyle}" TargetType="TextBox">
13901396
<Style.Resources>

0 commit comments

Comments
 (0)