mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add Margin for Shadow
This commit is contained in:
parent
f44aadbdac
commit
2c8cfa51df
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ namespace Flow.Launcher.Core.Resource
|
||||||
{
|
{
|
||||||
public class Theme
|
public class Theme
|
||||||
{
|
{
|
||||||
private const int ShadowExtraMargin = 12;
|
private const int ShadowExtraMargin = 32;
|
||||||
|
|
||||||
private readonly List<string> _themeDirectories = new List<string>();
|
private readonly List<string> _themeDirectories = new List<string>();
|
||||||
private ResourceDictionary _oldResource;
|
private ResourceDictionary _oldResource;
|
||||||
|
|
@ -251,7 +251,7 @@ namespace Flow.Launcher.Core.Resource
|
||||||
marginSetter = new Setter()
|
marginSetter = new Setter()
|
||||||
{
|
{
|
||||||
Property = Border.MarginProperty,
|
Property = Border.MarginProperty,
|
||||||
Value = new Thickness(ShadowExtraMargin),
|
Value = new Thickness(ShadowExtraMargin, 12, ShadowExtraMargin, ShadowExtraMargin),
|
||||||
};
|
};
|
||||||
windowBorderStyle.Setters.Add(marginSetter);
|
windowBorderStyle.Setters.Add(marginSetter);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue