Skip to content

Commit 6d02881

Browse files
authored
Merge pull request #3936 from Flow-Launcher/always_preview_notification
Add maximum results shown warning when always preview is on
2 parents 8ec5026 + c8dedd5 commit 6d02881

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Flow.Launcher/Languages/en.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@
327327
<system:String x:Key="PlaceholderTextTip">Change placeholder text. Input empty will use: {0}</system:String>
328328
<system:String x:Key="KeepMaxResults">Fixed Window Size</system:String>
329329
<system:String x:Key="KeepMaxResultsToolTip">The window size is not adjustable by dragging.</system:String>
330+
<system:String x:Key="MaxShowResultsCannotWorkWithAlwaysPreview">Since Always Preview is on, maximum results shown may not take effect because preview panel requires a certain minimum height</system:String>
330331

331332
<!-- Setting Hotkey -->
332333
<system:String x:Key="hotkey">Hotkey</system:String>

Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,15 @@
545545
SelectedItem="{Binding Settings.MaxResultsToShow}" />
546546
</cc:Card>
547547
</cc:ExCard>
548+
<cc:InfoBar
549+
Title=""
550+
Margin="0 4 0 0"
551+
Closable="False"
552+
IsIconVisible="True"
553+
Length="Long"
554+
Message="{DynamicResource MaxShowResultsCannotWorkWithAlwaysPreview}"
555+
Type="Warning"
556+
Visibility="{Binding Settings.AlwaysPreview, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" />
548557

549558
<!-- Time and date -->
550559
<cc:CardGroup Margin="0 14 0 0">

0 commit comments

Comments
 (0)