mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge branch 'dev' into 240518Adjusthemes
This commit is contained in:
commit
8fa9897990
9 changed files with 165 additions and 54 deletions
|
|
@ -57,7 +57,7 @@
|
||||||
<system:String x:Key="LastQuerySelected">Select last Query</system:String>
|
<system:String x:Key="LastQuerySelected">Select last Query</system:String>
|
||||||
<system:String x:Key="LastQueryEmpty">Empty last Query</system:String>
|
<system:String x:Key="LastQueryEmpty">Empty last Query</system:String>
|
||||||
<system:String x:Key="KeepMaxResults">Fixed Window Height</system:String>
|
<system:String x:Key="KeepMaxResults">Fixed Window Height</system:String>
|
||||||
<system:String x:Key="KeepMaxResultsToolTip">The window height will not be resizeable by dragging</system:String>
|
<system:String x:Key="KeepMaxResultsToolTip">The window height is not adjustable by dragging.</system:String>
|
||||||
<system:String x:Key="maxShowResults">Maximum results shown</system:String>
|
<system:String x:Key="maxShowResults">Maximum results shown</system:String>
|
||||||
<system:String x:Key="maxShowResultsToolTip">You can also quickly adjust this by using CTRL+Plus and CTRL+Minus.</system:String>
|
<system:String x:Key="maxShowResultsToolTip">You can also quickly adjust this by using CTRL+Plus and CTRL+Minus.</system:String>
|
||||||
<system:String x:Key="ignoreHotkeysOnFullscreen">Ignore hotkeys in fullscreen mode</system:String>
|
<system:String x:Key="ignoreHotkeysOnFullscreen">Ignore hotkeys in fullscreen mode</system:String>
|
||||||
|
|
@ -75,6 +75,7 @@
|
||||||
<system:String x:Key="autoUpdates">Auto Update</system:String>
|
<system:String x:Key="autoUpdates">Auto Update</system:String>
|
||||||
<system:String x:Key="select">Select</system:String>
|
<system:String x:Key="select">Select</system:String>
|
||||||
<system:String x:Key="hideOnStartup">Hide Flow Launcher on startup</system:String>
|
<system:String x:Key="hideOnStartup">Hide Flow Launcher on startup</system:String>
|
||||||
|
<system:String x:Key="hideOnStartupToolTip">Flow Launcher search window is hidden in the tray after starting up.</system:String>
|
||||||
<system:String x:Key="hideNotifyIcon">Hide tray icon</system:String>
|
<system:String x:Key="hideNotifyIcon">Hide tray icon</system:String>
|
||||||
<system:String x:Key="hideNotifyIconToolTip">When the icon is hidden from the tray, the Settings menu can be opened by right-clicking on the search window.</system:String>
|
<system:String x:Key="hideNotifyIconToolTip">When the icon is hidden from the tray, the Settings menu can be opened by right-clicking on the search window.</system:String>
|
||||||
<system:String x:Key="querySearchPrecision">Query Search Precision</system:String>
|
<system:String x:Key="querySearchPrecision">Query Search Precision</system:String>
|
||||||
|
|
@ -279,6 +280,9 @@
|
||||||
<system:String x:Key="clearlogfolder">Clear Logs</system:String>
|
<system:String x:Key="clearlogfolder">Clear Logs</system:String>
|
||||||
<system:String x:Key="clearlogfolderMessage">Are you sure you want to delete all logs?</system:String>
|
<system:String x:Key="clearlogfolderMessage">Are you sure you want to delete all logs?</system:String>
|
||||||
<system:String x:Key="welcomewindow">Wizard</system:String>
|
<system:String x:Key="welcomewindow">Wizard</system:String>
|
||||||
|
<system:String x:Key="userdatapath">User Data Location</system:String>
|
||||||
|
<system:String x:Key="userdatapathToolTip">User settings and installed plugins are saved in the user data folder. This location may vary depending on whether it's in portable mode or not.</system:String>
|
||||||
|
<system:String x:Key="userdatapathButton">Open Folder</system:String>
|
||||||
|
|
||||||
<!-- FileManager Setting Dialog -->
|
<!-- FileManager Setting Dialog -->
|
||||||
<system:String x:Key="fileManagerWindow">Select File Manager</system:String>
|
<system:String x:Key="fileManagerWindow">Select File Manager</system:String>
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,8 @@
|
||||||
<Setter Property="BorderThickness" Value="1" />
|
<Setter Property="BorderThickness" Value="1" />
|
||||||
<Style.Triggers>
|
<Style.Triggers>
|
||||||
<DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}, Path=WindowState}" Value="Maximized">
|
<DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}, Path=WindowState}" Value="Maximized">
|
||||||
<Setter Property="BorderThickness" Value="1" />
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
|
<Setter Property="Padding" Value="6" />
|
||||||
</DataTrigger>
|
</DataTrigger>
|
||||||
</Style.Triggers>
|
</Style.Triggers>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
@ -1642,6 +1643,80 @@
|
||||||
|
|
||||||
<Style BasedOn="{StaticResource DefaultButtonStyle}" TargetType="Button" />
|
<Style BasedOn="{StaticResource DefaultButtonStyle}" TargetType="Button" />
|
||||||
|
|
||||||
|
<Style
|
||||||
|
x:Key="AccentButtonStyle"
|
||||||
|
BasedOn="{StaticResource DefaultButtonStyle}"
|
||||||
|
TargetType="Button">
|
||||||
|
<Setter Property="Foreground" Value="{DynamicResource AccentButtonForeground}" />
|
||||||
|
<Setter Property="Background" Value="{DynamicResource AccentButtonBackground}" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrush}" />
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="Button">
|
||||||
|
|
||||||
|
<Border
|
||||||
|
x:Name="Background"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
CornerRadius="{TemplateBinding ui:ControlHelper.CornerRadius}"
|
||||||
|
SnapsToDevicePixels="True">
|
||||||
|
<Border x:Name="Overlay">
|
||||||
|
<Border
|
||||||
|
x:Name="Border"
|
||||||
|
Margin="1"
|
||||||
|
Padding="{TemplateBinding Padding}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
BorderThickness="0 0 0 1"
|
||||||
|
CornerRadius="{TemplateBinding ui:ControlHelper.CornerRadius}">
|
||||||
|
<ContentPresenter
|
||||||
|
x:Name="ContentPresenter"
|
||||||
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
Focusable="False"
|
||||||
|
RecognizesAccessKey="True"
|
||||||
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
||||||
|
TextElement.Foreground="{TemplateBinding Foreground}" />
|
||||||
|
</Border>
|
||||||
|
</Border>
|
||||||
|
</Border>
|
||||||
|
<ControlTemplate.Triggers>
|
||||||
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter TargetName="Background" Property="Background" Value="{DynamicResource AccentButtonBackgroundPointerOver}" />
|
||||||
|
<Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrushPointerOver}" />
|
||||||
|
<Setter TargetName="Overlay" Property="Background" Value="{DynamicResource AccentButtonBorderBGPointerOver}" />
|
||||||
|
<Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource AccentButtonForegroundPointerOver}" />
|
||||||
|
</Trigger>
|
||||||
|
<Trigger Property="IsPressed" Value="True">
|
||||||
|
<Setter TargetName="Background" Property="Background" Value="{DynamicResource AccentButtonBackgroundPressed}" />
|
||||||
|
<Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrushPressed}" />
|
||||||
|
<Setter TargetName="Overlay" Property="Background" Value="{DynamicResource AccentButtonBorderBGPressed}" />
|
||||||
|
<Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource AccentButtonForegroundPressed}" />
|
||||||
|
</Trigger>
|
||||||
|
<Trigger Property="IsEnabled" Value="False">
|
||||||
|
<Setter TargetName="Background" Property="Background" Value="{DynamicResource AccentButtonBackgroundDisabled}" />
|
||||||
|
<Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrushDisabled}" />
|
||||||
|
<Setter TargetName="Overlay" Property="Background" Value="transparent" />
|
||||||
|
<Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource AccentButtonForegroundDisabled}" />
|
||||||
|
</Trigger>
|
||||||
|
</ControlTemplate.Triggers>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<Style x:Key="{x:Static SystemParameters.FocusVisualStyleKey}">
|
||||||
|
<Setter Property="Control.Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate>
|
||||||
|
<Border
|
||||||
|
Margin="0"
|
||||||
|
BorderBrush="{DynamicResource Color05B}"
|
||||||
|
BorderThickness="2"
|
||||||
|
CornerRadius="6"
|
||||||
|
SnapsToDevicePixels="true" />
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
|
||||||
<!-- - Custom Toggle Switch from modern wpf for left label -->
|
<!-- - Custom Toggle Switch from modern wpf for left label -->
|
||||||
<system:TimeSpan x:Key="RepositionDelay">0:0:0.033</system:TimeSpan>
|
<system:TimeSpan x:Key="RepositionDelay">0:0:0.033</system:TimeSpan>
|
||||||
|
|
@ -1657,7 +1732,7 @@
|
||||||
<Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" />
|
<Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" />
|
||||||
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" />
|
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" />
|
||||||
<Setter Property="FocusVisualStyle" Value="{DynamicResource {x:Static SystemParameters.FocusVisualStyleKey}}" />
|
<Setter Property="FocusVisualStyle" Value="{DynamicResource {x:Static SystemParameters.FocusVisualStyleKey}}" />
|
||||||
<Setter Property="ui:FocusVisualHelper.FocusVisualMargin" Value="-7,-3,-7,-3" />
|
<Setter Property="ui:FocusVisualHelper.FocusVisualMargin" Value="-43,-3,-4,-3" />
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="ui:ToggleSwitch">
|
<ControlTemplate TargetType="ui:ToggleSwitch">
|
||||||
|
|
|
||||||
|
|
@ -1606,18 +1606,23 @@
|
||||||
|
|
||||||
<!-- Resources for AccentButtonStyle -->
|
<!-- Resources for AccentButtonStyle -->
|
||||||
<m:StaticResource x:Key="AccentButtonBackground" ResourceKey="SystemAccentColorLight2Brush" />
|
<m:StaticResource x:Key="AccentButtonBackground" ResourceKey="SystemAccentColorLight2Brush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBackgroundPointerOver" ResourceKey="SystemAccentColorLight1Brush" />
|
<m:StaticResource x:Key="AccentButtonBackgroundPointerOver" ResourceKey="SystemAccentColorLight2Brush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBackgroundPressed" ResourceKey="SystemAccentColorDark1Brush" />
|
<m:StaticResource x:Key="AccentButtonBackgroundPressed" ResourceKey="SystemAccentColorLight2Brush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" />
|
<m:StaticResource x:Key="AccentButtonBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonForeground" ResourceKey="Color01B" />
|
<m:StaticResource x:Key="AccentButtonForeground" ResourceKey="SystemControlForegroundAltHighBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonForegroundPointerOver" ResourceKey="Color01B" />
|
<m:StaticResource x:Key="AccentButtonForegroundPointerOver" ResourceKey="SystemControlForegroundAltMediumHighBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonForegroundPressed" ResourceKey="Color23B" />
|
<m:StaticResource x:Key="AccentButtonForegroundPressed" ResourceKey="SystemControlForegroundListLowBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" />
|
<m:StaticResource x:Key="AccentButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" />
|
<m:StaticResource x:Key="AccentButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBorderBrushPointerOver" ResourceKey="SystemControlForegroundTransparentBrush" />
|
<m:StaticResource x:Key="AccentButtonBorderBrushPointerOver" ResourceKey="SystemControlForegroundTransparentBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" />
|
<m:StaticResource x:Key="AccentButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" />
|
||||||
|
<m:StaticResource x:Key="AccentButtonBorderBGPointerOver" ResourceKey="AccentButtonOverlayPointerOver" />
|
||||||
|
<m:StaticResource x:Key="AccentButtonBorderBGPressed" ResourceKey="AccentButtonOverlayPressed" />
|
||||||
<m:StaticResource x:Key="AccentButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" />
|
<m:StaticResource x:Key="AccentButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" />
|
||||||
|
|
||||||
|
<SolidColorBrush x:Key="AccentButtonOverlayPointerOver" Color="#32555555" />
|
||||||
|
<SolidColorBrush x:Key="AccentButtonOverlayPressed" Color="#52555555" />
|
||||||
|
|
||||||
<sys:Boolean x:Key="UseSystemFocusVisuals">True</sys:Boolean>
|
<sys:Boolean x:Key="UseSystemFocusVisuals">True</sys:Boolean>
|
||||||
<sys:Boolean x:Key="IsApplicationFocusVisualKindReveal">False</sys:Boolean>
|
<sys:Boolean x:Key="IsApplicationFocusVisualKindReveal">False</sys:Boolean>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1609,9 +1609,11 @@
|
||||||
<m:StaticResource x:Key="AccentButtonForegroundPointerOver" ResourceKey="SystemControlForegroundChromeWhiteBrush" />
|
<m:StaticResource x:Key="AccentButtonForegroundPointerOver" ResourceKey="SystemControlForegroundChromeWhiteBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonForegroundPressed" ResourceKey="SystemControlForegroundChromeWhiteBrush" />
|
<m:StaticResource x:Key="AccentButtonForegroundPressed" ResourceKey="SystemControlForegroundChromeWhiteBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" />
|
<m:StaticResource x:Key="AccentButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" />
|
<m:StaticResource x:Key="AccentButtonBorderBrush" ResourceKey="SystemAccentColorDark2Brush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBorderBrushPointerOver" ResourceKey="SystemControlForegroundTransparentBrush" />
|
<m:StaticResource x:Key="AccentButtonBorderBrushPointerOver" ResourceKey="SystemAccentColorDark2Brush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" />
|
<m:StaticResource x:Key="AccentButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" />
|
||||||
|
<m:StaticResource x:Key="AccentButtonBorderBGPointerOver" ResourceKey="SystemControlForegroundTransparentBrush" />
|
||||||
|
<m:StaticResource x:Key="AccentButtonBorderBGPressed" ResourceKey="SystemControlForegroundTransparentBrush" />
|
||||||
<m:StaticResource x:Key="AccentButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" />
|
<m:StaticResource x:Key="AccentButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" />
|
||||||
|
|
||||||
<sys:Boolean x:Key="UseSystemFocusVisuals">True</sys:Boolean>
|
<sys:Boolean x:Key="UseSystemFocusVisuals">True</sys:Boolean>
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,15 @@ public partial class SettingsPaneAboutViewModel : BaseModel
|
||||||
PluginManager.API.OpenDirectory(Path.Combine(DataLocation.DataDirectory(), Constant.Settings));
|
PluginManager.API.OpenDirectory(Path.Combine(DataLocation.DataDirectory(), Constant.Settings));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void OpenParentOfSettingsFolder(object parameter)
|
||||||
|
{
|
||||||
|
string settingsFolderPath = Path.Combine(DataLocation.DataDirectory(), Constant.Settings);
|
||||||
|
string parentFolderPath = Path.GetDirectoryName(settingsFolderPath);
|
||||||
|
PluginManager.API.OpenDirectory(parentFolderPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
[RelayCommand]
|
[RelayCommand]
|
||||||
private void OpenLogsFolder()
|
private void OpenLogsFolder()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
Text="{DynamicResource about}"
|
Text="{DynamicResource about}"
|
||||||
TextAlignment="left" />
|
TextAlignment="left" />
|
||||||
|
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{Binding Version}"
|
Title="{Binding Version}"
|
||||||
Icon=""
|
Icon=""
|
||||||
|
|
@ -43,7 +42,7 @@
|
||||||
TextDecorations="None">
|
TextDecorations="None">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Padding="10 5"
|
Padding="10 5"
|
||||||
Foreground="White"
|
Foreground="{StaticResource SystemControlForegroundAltHighBrush}"
|
||||||
Text="{DynamicResource BecomeASponsor}" />
|
Text="{DynamicResource BecomeASponsor}" />
|
||||||
</Hyperlink>
|
</Hyperlink>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -51,7 +50,18 @@
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:Card Title="{DynamicResource releaseNotes}" Icon="">
|
<cc:Card Title="{DynamicResource releaseNotes}" Icon="">
|
||||||
<cc:HyperLink Uri="{Binding ReleaseNotes}" Text="{DynamicResource releaseNotes}" />
|
<cc:HyperLink Text="{DynamicResource releaseNotes}" Uri="{Binding ReleaseNotes}" />
|
||||||
|
</cc:Card>
|
||||||
|
|
||||||
|
|
||||||
|
<cc:Card
|
||||||
|
Title="{DynamicResource userdatapath}"
|
||||||
|
Margin="0 14 0 0"
|
||||||
|
Icon=";"
|
||||||
|
Sub="{DynamicResource userdatapathToolTip}">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<Button Command="{Binding OpenParentOfSettingsFolderCommand}" Content="{DynamicResource userdatapathButton}" />
|
||||||
|
</StackPanel>
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
|
|
@ -59,26 +69,26 @@
|
||||||
Margin="0 14 0 0"
|
Margin="0 14 0 0"
|
||||||
Icon="">
|
Icon="">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<cc:HyperLink Margin="0 0 12 0" Uri="{Binding Website}" Text="{DynamicResource website}" />
|
<cc:HyperLink
|
||||||
<cc:HyperLink Uri="{Binding Github}" Text="{DynamicResource github}" />
|
Margin="0 0 12 0"
|
||||||
|
Text="{DynamicResource website}"
|
||||||
|
Uri="{Binding Website}" />
|
||||||
|
<cc:HyperLink
|
||||||
|
Margin="0 0 12 0"
|
||||||
|
Text="{DynamicResource documentation}"
|
||||||
|
Uri="{Binding Documentation}" />
|
||||||
|
<cc:HyperLink Text="{DynamicResource github}" Uri="{Binding Github}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:Card Title="{DynamicResource documentation}" Icon="">
|
<cc:Card Title="{DynamicResource icons}" Icon="">
|
||||||
<StackPanel Orientation="Horizontal">
|
<cc:HyperLink Text="icons8.com" Uri="https://icons8.com/" />
|
||||||
<cc:HyperLink Margin="0 0 12 0" Uri="{Binding Documentation}" Text="{DynamicResource documentation}" />
|
|
||||||
<cc:HyperLink Uri="{Binding Website}" Text="{DynamicResource website}" />
|
|
||||||
</StackPanel>
|
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource icons}"
|
Title="{DynamicResource devtool}"
|
||||||
Margin="0 14 0 0"
|
Margin="0 12 0 0"
|
||||||
Icon="">
|
Icon="">
|
||||||
<cc:HyperLink Uri="https://icons8.com/" Text="icons8.com" />
|
|
||||||
</cc:Card>
|
|
||||||
|
|
||||||
<cc:Card Title="{DynamicResource devtool}" Icon="">
|
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Button
|
<Button
|
||||||
Margin="0 0 12 0"
|
Margin="0 0 12 0"
|
||||||
|
|
|
||||||
|
|
@ -36,14 +36,17 @@
|
||||||
OnContent="{DynamicResource enable}" />
|
OnContent="{DynamicResource enable}" />
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:Card Title="{DynamicResource hideOnStartup}" Icon="">
|
<cc:Card
|
||||||
|
Title="{DynamicResource hideOnStartup}"
|
||||||
|
Icon=""
|
||||||
|
Sub="{DynamicResource hideOnStartupToolTip}">
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
IsOn="{Binding Settings.HideOnStartup}"
|
IsOn="{Binding Settings.HideOnStartup}"
|
||||||
OffContent="{DynamicResource disable}"
|
OffContent="{DynamicResource disable}"
|
||||||
OnContent="{DynamicResource enable}" />
|
OnContent="{DynamicResource enable}" />
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:Card Title="{DynamicResource hideFlowLauncherWhenLoseFocus}" Margin="0 30 0 0">
|
<cc:Card Title="{DynamicResource hideFlowLauncherWhenLoseFocus}" Margin="0 14 0 0">
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
IsOn="{Binding Settings.HideWhenDeactivated}"
|
IsOn="{Binding Settings.HideWhenDeactivated}"
|
||||||
OffContent="{DynamicResource disable}"
|
OffContent="{DynamicResource disable}"
|
||||||
|
|
@ -57,7 +60,7 @@
|
||||||
OnContent="{DynamicResource enable}" />
|
OnContent="{DynamicResource enable}" />
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:CardGroup Margin="0 30 0 0">
|
<cc:CardGroup Margin="0 14 0 0">
|
||||||
<cc:Card Title="{DynamicResource SearchWindowPosition}" Icon="">
|
<cc:Card Title="{DynamicResource SearchWindowPosition}" Icon="">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<ComboBox
|
<ComboBox
|
||||||
|
|
@ -121,6 +124,7 @@
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource ignoreHotkeysOnFullscreen}"
|
Title="{DynamicResource ignoreHotkeysOnFullscreen}"
|
||||||
|
Margin="0 14 0 0"
|
||||||
Icon=""
|
Icon=""
|
||||||
Sub="{DynamicResource ignoreHotkeysOnFullscreenToolTip}">
|
Sub="{DynamicResource ignoreHotkeysOnFullscreenToolTip}">
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
|
|
@ -131,7 +135,7 @@
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource AlwaysPreview}"
|
Title="{DynamicResource AlwaysPreview}"
|
||||||
Margin="0 30 0 0"
|
Margin="0 14 0 0"
|
||||||
Icon=""
|
Icon=""
|
||||||
Sub="{DynamicResource AlwaysPreviewToolTip}">
|
Sub="{DynamicResource AlwaysPreviewToolTip}">
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
|
|
@ -143,7 +147,7 @@
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource autoUpdates}"
|
Title="{DynamicResource autoUpdates}"
|
||||||
Margin="0 30 0 0"
|
Margin="0 14 0 0"
|
||||||
Icon="">
|
Icon="">
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
IsOn="{Binding AutoUpdates}"
|
IsOn="{Binding AutoUpdates}"
|
||||||
|
|
@ -161,7 +165,7 @@
|
||||||
OnContent="{DynamicResource enable}" />
|
OnContent="{DynamicResource enable}" />
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:CardGroup Margin="0 30 0 0">
|
<cc:CardGroup Margin="0 14 0 0">
|
||||||
<cc:Card Title="{DynamicResource querySearchPrecision}" Sub="{DynamicResource querySearchPrecisionToolTip}">
|
<cc:Card Title="{DynamicResource querySearchPrecision}" Sub="{DynamicResource querySearchPrecisionToolTip}">
|
||||||
<ComboBox
|
<ComboBox
|
||||||
MaxWidth="200"
|
MaxWidth="200"
|
||||||
|
|
@ -182,7 +186,7 @@
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource defaultFileManager}"
|
Title="{DynamicResource defaultFileManager}"
|
||||||
Margin="0 30 0 0"
|
Margin="0 14 0 0"
|
||||||
Icon=""
|
Icon=""
|
||||||
Sub="{DynamicResource defaultFileManagerToolTip}">
|
Sub="{DynamicResource defaultFileManagerToolTip}">
|
||||||
<Button
|
<Button
|
||||||
|
|
@ -205,7 +209,7 @@
|
||||||
Content="{Binding Settings.CustomBrowser.Name}" />
|
Content="{Binding Settings.CustomBrowser.Name}" />
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<cc:Card Title="{DynamicResource pythonFilePath}" Margin="0 30 0 0">
|
<cc:Card Title="{DynamicResource pythonFilePath}" Margin="0 14 0 0">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<TextBox
|
<TextBox
|
||||||
Width="300"
|
Width="300"
|
||||||
|
|
@ -235,7 +239,7 @@
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource typingStartEn}"
|
Title="{DynamicResource typingStartEn}"
|
||||||
Margin="0 30 0 0"
|
Margin="0 14 0 0"
|
||||||
Icon=""
|
Icon=""
|
||||||
Sub="{DynamicResource typingStartEnTooltip}">
|
Sub="{DynamicResource typingStartEnTooltip}">
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
|
|
@ -257,7 +261,7 @@
|
||||||
|
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource language}"
|
Title="{DynamicResource language}"
|
||||||
Margin="0 30 0 0"
|
Margin="0 14 0 0"
|
||||||
Icon="">
|
Icon="">
|
||||||
<ComboBox
|
<ComboBox
|
||||||
MaxWidth="200"
|
MaxWidth="200"
|
||||||
|
|
|
||||||
|
|
@ -368,7 +368,7 @@
|
||||||
<!-- Drop shadow effect -->
|
<!-- Drop shadow effect -->
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource queryWindowShadowEffect}"
|
Title="{DynamicResource queryWindowShadowEffect}"
|
||||||
Margin="0 4 0 0"
|
Margin="0 8 0 0"
|
||||||
Icon=""
|
Icon=""
|
||||||
Sub="{DynamicResource shadowEffectCPUUsage}">
|
Sub="{DynamicResource shadowEffectCPUUsage}">
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
|
|
@ -477,7 +477,7 @@
|
||||||
<!-- Fonts and icons -->
|
<!-- Fonts and icons -->
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource useGlyphUI}"
|
Title="{DynamicResource useGlyphUI}"
|
||||||
Margin="0 6 0 0"
|
Margin="0 14 0 0"
|
||||||
Icon=""
|
Icon=""
|
||||||
Sub="{DynamicResource useGlyphUIEffect}">
|
Sub="{DynamicResource useGlyphUIEffect}">
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
|
|
@ -487,7 +487,7 @@
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<!-- Time and date -->
|
<!-- Time and date -->
|
||||||
<cc:CardGroup Margin="0 11 0 0">
|
<cc:CardGroup Margin="0 14 0 0">
|
||||||
<cc:Card Title="{DynamicResource Clock}" Icon="">
|
<cc:Card Title="{DynamicResource Clock}" Icon="">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
|
@ -532,7 +532,7 @@
|
||||||
</cc:CardGroup>
|
</cc:CardGroup>
|
||||||
|
|
||||||
<!-- Animation -->
|
<!-- Animation -->
|
||||||
<cc:CardGroup Margin="0 11 0 0">
|
<cc:CardGroup Margin="0 14 0 0">
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource Animation}"
|
Title="{DynamicResource Animation}"
|
||||||
Icon=""
|
Icon=""
|
||||||
|
|
@ -569,7 +569,7 @@
|
||||||
</cc:CardGroup>
|
</cc:CardGroup>
|
||||||
|
|
||||||
<!-- SFX -->
|
<!-- SFX -->
|
||||||
<cc:CardGroup Margin="0 11 0 0">
|
<cc:CardGroup Margin="0 14 0 0">
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource SoundEffect}"
|
Title="{DynamicResource SoundEffect}"
|
||||||
Icon=""
|
Icon=""
|
||||||
|
|
@ -640,7 +640,7 @@
|
||||||
<!-- Settings color scheme -->
|
<!-- Settings color scheme -->
|
||||||
<cc:Card
|
<cc:Card
|
||||||
Title="{DynamicResource ColorScheme}"
|
Title="{DynamicResource ColorScheme}"
|
||||||
Margin="0 11 0 0"
|
Margin="0 14 0 0"
|
||||||
Icon="">
|
Icon="">
|
||||||
<ComboBox
|
<ComboBox
|
||||||
MinWidth="180"
|
MinWidth="180"
|
||||||
|
|
@ -653,7 +653,10 @@
|
||||||
</cc:Card>
|
</cc:Card>
|
||||||
|
|
||||||
<!-- Theme folder -->
|
<!-- Theme folder -->
|
||||||
<cc:Card Title="{DynamicResource ThemeFolder}" Icon="">
|
<cc:Card
|
||||||
|
Title="{DynamicResource ThemeFolder}"
|
||||||
|
Margin="0 14 0 0"
|
||||||
|
Icon="">
|
||||||
<Button
|
<Button
|
||||||
MinWidth="180"
|
MinWidth="180"
|
||||||
Command="{Binding OpenThemesFolderCommand}"
|
Command="{Binding OpenThemesFolderCommand}"
|
||||||
|
|
|
||||||
|
|
@ -53,12 +53,12 @@
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Width="16"
|
Width="16"
|
||||||
Height="16"
|
Height="16"
|
||||||
Margin="10,4,4,4"
|
Margin="10 4 4 4"
|
||||||
Source="/Images/app.png" />
|
Source="/Images/app.png" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="4,0,0,0"
|
Margin="4 0 0 0"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
Foreground="{DynamicResource Color05B}"
|
Foreground="{DynamicResource Color05B}"
|
||||||
|
|
@ -111,8 +111,8 @@
|
||||||
</Path>
|
</Path>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
Grid.Row="0"
|
|
||||||
Name="RestoreButton"
|
Name="RestoreButton"
|
||||||
|
Grid.Row="0"
|
||||||
Grid.Column="3"
|
Grid.Column="3"
|
||||||
Click="OnMaximizeRestoreButtonClick"
|
Click="OnMaximizeRestoreButtonClick"
|
||||||
Style="{StaticResource TitleBarButtonStyle}">
|
Style="{StaticResource TitleBarButtonStyle}">
|
||||||
|
|
@ -161,24 +161,23 @@
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="5"
|
Grid.ColumnSpan="5"
|
||||||
Margin="0,0,0,0"
|
Margin="0 0 0 0"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
AlwaysShowHeader="False"
|
AlwaysShowHeader="False"
|
||||||
Background="{DynamicResource Color01B}"
|
Background="{DynamicResource Color01B}"
|
||||||
ExpandedModeThresholdWidth="300"
|
|
||||||
IsBackButtonVisible="Collapsed"
|
IsBackButtonVisible="Collapsed"
|
||||||
|
IsBackEnabled="False"
|
||||||
IsPaneToggleButtonVisible="False"
|
IsPaneToggleButtonVisible="False"
|
||||||
IsSettingsVisible="False"
|
IsSettingsVisible="False"
|
||||||
IsTabStop="False"
|
IsTabStop="False"
|
||||||
OpenPaneLength="230"
|
OpenPaneLength="240"
|
||||||
PaneDisplayMode="Left"
|
PaneDisplayMode="Left"
|
||||||
IsBackEnabled="False"
|
|
||||||
SelectionChanged="NavigationView_SelectionChanged">
|
SelectionChanged="NavigationView_SelectionChanged">
|
||||||
<ui:NavigationView.HeaderTemplate>
|
<ui:NavigationView.HeaderTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="-8,18,0,5"
|
Margin="-8 18 0 5"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
FontSize="30"
|
FontSize="30"
|
||||||
FontWeight="Medium"
|
FontWeight="Medium"
|
||||||
|
|
@ -187,7 +186,7 @@
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ui:NavigationView.HeaderTemplate>
|
</ui:NavigationView.HeaderTemplate>
|
||||||
<ui:NavigationView.PaneCustomContent>
|
<ui:NavigationView.PaneCustomContent>
|
||||||
<Grid Margin="0,35,0,0" HorizontalAlignment="Center">
|
<Grid Margin="0 35 0 0" HorizontalAlignment="Center">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="50" />
|
<RowDefinition Height="50" />
|
||||||
<RowDefinition Height="27" />
|
<RowDefinition Height="27" />
|
||||||
|
|
@ -201,7 +200,7 @@
|
||||||
Source="images/app.png" />
|
Source="images/app.png" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Margin="0,12,0,0"
|
Margin="0 12 0 0"
|
||||||
Style="{StaticResource TabMenu}"
|
Style="{StaticResource TabMenu}"
|
||||||
Text="Flow Launcher"
|
Text="Flow Launcher"
|
||||||
TextAlignment="Center" />
|
TextAlignment="Center" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue