fixed issue with margin
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="controls:NotificationFlyout">
|
||||
<Border x:Name="Container">
|
||||
<Grid x:Name="LayoutRoot">
|
||||
<Grid x:Name="LayoutRoot" Margin="{TemplateBinding Margin}">
|
||||
<Border
|
||||
x:Name="BackgroundElement"
|
||||
Padding="{TemplateBinding Padding}"
|
||||
|
||||
+2
@@ -107,6 +107,7 @@ namespace TheXamlGuy.NotificationFlyout.Wpf.UI.Controls
|
||||
|
||||
UpdateIcons();
|
||||
}
|
||||
|
||||
private void PrepareFlyoutHost()
|
||||
{
|
||||
_notificationFlyoutXamlHost = new TransparentXamlHost<ContentControl>();
|
||||
@@ -126,6 +127,7 @@ namespace TheXamlGuy.NotificationFlyout.Wpf.UI.Controls
|
||||
_notificationFlyoutXamlHost.Activate();
|
||||
Flyout.Show();
|
||||
}
|
||||
|
||||
private void UpdateFlyoutPlacement()
|
||||
{
|
||||
var taskbarState = _taskbarHelper.GetCurrentState();
|
||||
|
||||
Reference in New Issue
Block a user