Skip to content

Commit 951f7a2

Browse files
Jack251970TBM13
authored andcommitted
Merge pull request Flow-Launcher#3936 from Flow-Launcher/always_preview_notification
Add maximum results shown warning when always preview is on
1 parent f02877a commit 951f7a2

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
@@ -323,6 +323,7 @@
323323
<system:String x:Key="PlaceholderTextTip">Change placeholder text. Input empty will use: {0}</system:String>
324324
<system:String x:Key="KeepMaxResults">Fixed Window Size</system:String>
325325
<system:String x:Key="KeepMaxResultsToolTip">The window size is not adjustable by dragging.</system:String>
326+
<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>
326327

327328
<!-- Setting Hotkey -->
328329
<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
@@ -474,6 +474,15 @@
474474
SelectedItem="{Binding Settings.MaxResultsToShow}" />
475475
</cc:Card>
476476
</cc:ExCard>
477+
<cc:InfoBar
478+
Title=""
479+
Margin="0 4 0 0"
480+
Closable="False"
481+
IsIconVisible="True"
482+
Length="Long"
483+
Message="{DynamicResource MaxShowResultsCannotWorkWithAlwaysPreview}"
484+
Type="Warning"
485+
Visibility="{Binding Settings.AlwaysPreview, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" />
477486

478487
<!-- Fonts and icons -->
479488
<cc:Card

0 commit comments

Comments
 (0)