mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add maximum results shown warning when always preview is on
This commit is contained in:
parent
09366f5bed
commit
c8dedd50d5
2 changed files with 10 additions and 0 deletions
|
|
@ -327,6 +327,7 @@
|
||||||
<system:String x:Key="PlaceholderTextTip">Change placeholder text. Input empty will use: {0}</system:String>
|
<system:String x:Key="PlaceholderTextTip">Change placeholder text. Input empty will use: {0}</system:String>
|
||||||
<system:String x:Key="KeepMaxResults">Fixed Window Size</system:String>
|
<system:String x:Key="KeepMaxResults">Fixed Window Size</system:String>
|
||||||
<system:String x:Key="KeepMaxResultsToolTip">The window size is not adjustable by dragging.</system:String>
|
<system:String x:Key="KeepMaxResultsToolTip">The window size is not adjustable by dragging.</system:String>
|
||||||
|
<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>
|
||||||
|
|
||||||
<!-- Setting Hotkey -->
|
<!-- Setting Hotkey -->
|
||||||
<system:String x:Key="hotkey">Hotkey</system:String>
|
<system:String x:Key="hotkey">Hotkey</system:String>
|
||||||
|
|
|
||||||
|
|
@ -545,6 +545,15 @@
|
||||||
SelectedItem="{Binding Settings.MaxResultsToShow}" />
|
SelectedItem="{Binding Settings.MaxResultsToShow}" />
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
</cc:ExCard>
|
</cc:ExCard>
|
||||||
|
<cc:InfoBar
|
||||||
|
Title=""
|
||||||
|
Margin="0 4 0 0"
|
||||||
|
Closable="False"
|
||||||
|
IsIconVisible="True"
|
||||||
|
Length="Long"
|
||||||
|
Message="{DynamicResource MaxShowResultsCannotWorkWithAlwaysPreview}"
|
||||||
|
Type="Warning"
|
||||||
|
Visibility="{Binding Settings.AlwaysPreview, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" />
|
||||||
|
|
||||||
<!-- Time and date -->
|
<!-- Time and date -->
|
||||||
<cc:CardGroup Margin="0 14 0 0">
|
<cc:CardGroup Margin="0 14 0 0">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue