mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Adjust backdrop info
This commit is contained in:
parent
fbe6e100e7
commit
49e00555fa
3 changed files with 14 additions and 3 deletions
|
|
@ -226,7 +226,7 @@
|
||||||
<system:String x:Key="Clock">Clock</system:String>
|
<system:String x:Key="Clock">Clock</system:String>
|
||||||
<system:String x:Key="Date">Date</system:String>
|
<system:String x:Key="Date">Date</system:String>
|
||||||
<system:String x:Key="BackdropType">Backdrop Type</system:String>
|
<system:String x:Key="BackdropType">Backdrop Type</system:String>
|
||||||
<system:String x:Key="BackdropTypeToolTip">You can configure the type of backdrop effect. Please note that it will not be reflected in the preview.</system:String>
|
<system:String x:Key="BackdropInfo">The backdrop effect is not applied in the preview.</system:String>
|
||||||
<system:String x:Key="BackdropTypeDisabledToolTip">Backdrop supported starting from Windows 11 build 22000 and above</system:String>
|
<system:String x:Key="BackdropTypeDisabledToolTip">Backdrop supported starting from Windows 11 build 22000 and above</system:String>
|
||||||
<system:String x:Key="BackdropTypesNone">None</system:String>
|
<system:String x:Key="BackdropTypesNone">None</system:String>
|
||||||
<system:String x:Key="BackdropTypesAcrylic">Acrylic</system:String>
|
<system:String x:Key="BackdropTypesAcrylic">Acrylic</system:String>
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ namespace Flow.Launcher.SettingPages.ViewModels;
|
||||||
public partial class SettingsPaneThemeViewModel : BaseModel
|
public partial class SettingsPaneThemeViewModel : BaseModel
|
||||||
{
|
{
|
||||||
private string DefaultFont = Settings.GetSystemDefaultFont();
|
private string DefaultFont = Settings.GetSystemDefaultFont();
|
||||||
public string BackdropSubText => !Win32Helper.IsBackdropSupported() ? App.API.GetTranslation("BackdropTypeDisabledToolTip") : App.API.GetTranslation("BackdropTypeToolTip");
|
public string BackdropSubText => !Win32Helper.IsBackdropSupported() ? App.API.GetTranslation("BackdropTypeDisabledToolTip") : "";
|
||||||
public Settings Settings { get; }
|
public Settings Settings { get; }
|
||||||
private readonly Theme _theme = Ioc.Default.GetRequiredService<Theme>();
|
private readonly Theme _theme = Ioc.Default.GetRequiredService<Theme>();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -305,7 +305,7 @@
|
||||||
<StackPanel VerticalAlignment="Center" DockPanel.Dock="Left">
|
<StackPanel VerticalAlignment="Center" DockPanel.Dock="Left">
|
||||||
<Border
|
<Border
|
||||||
Width="400"
|
Width="400"
|
||||||
Margin="40 30 0 30"
|
Margin="40 30 0 10"
|
||||||
SnapsToDevicePixels="True"
|
SnapsToDevicePixels="True"
|
||||||
Style="{DynamicResource PreviewWindowBorderStyle}">
|
Style="{DynamicResource PreviewWindowBorderStyle}">
|
||||||
<Border BorderThickness="0" Style="{DynamicResource WindowRadius}">
|
<Border BorderThickness="0" Style="{DynamicResource WindowRadius}">
|
||||||
|
|
@ -370,6 +370,17 @@
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
</Border>
|
</Border>
|
||||||
|
<Border
|
||||||
|
Margin="0 0 0 20"
|
||||||
|
Padding="8 4 8 4"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Background="#89000000"
|
||||||
|
CornerRadius="4">
|
||||||
|
<TextBlock
|
||||||
|
FontSize="10"
|
||||||
|
Foreground="#62FFFFFF"
|
||||||
|
Text="{DynamicResource BackdropInfo}" />
|
||||||
|
</Border>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue