Skip to content

Commit b8f743e

Browse files
committed
Add ui in general setting page
1 parent 4e88ce3 commit b8f743e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Flow.Launcher/Languages/en.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@
131131
<system:String x:Key="historyResultsForHomePage">Show History Results in Home Page</system:String>
132132
<system:String x:Key="historyResultsCountForHomePage">Maximum History Results Shown in Home Page</system:String>
133133
<system:String x:Key="homeToggleBoxToolTip">This can only be edited if plugin supports Home feature and Home Page is enabled.</system:String>
134+
<system:String x:Key="showAtTopmost">Show Search Window at Topmost</system:String>
135+
<system:String x:Key="showAtTopmostToolTip">Show search window above other windows</system:String>
134136

135137
<!-- Setting Plugin -->
136138
<system:String x:Key="searchplugin">Search Plugin</system:String>

Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,17 @@
7777
OnContent="{DynamicResource enable}" />
7878
</cc:Card>
7979

80+
<cc:Card
81+
Title="{DynamicResource showAtTopmost}"
82+
Margin="0 14 0 0"
83+
Icon="&#xE923;"
84+
Sub="{DynamicResource showAtTopmostToolTip}">
85+
<ui:ToggleSwitch
86+
IsOn="{Binding Settings.ShowAtTopmost}"
87+
OffContent="{DynamicResource disable}"
88+
OnContent="{DynamicResource enable}" />
89+
</cc:Card>
90+
8091
<cc:CardGroup Margin="0 14 0 0">
8192
<cc:Card Title="{DynamicResource SearchWindowPosition}" Icon="&#xe7f4;">
8293
<StackPanel Orientation="Horizontal">

0 commit comments

Comments
 (0)