From 3237e699ac4cd6fdc045f51ab9e12ba41f482ac0 Mon Sep 17 00:00:00 2001 From: Darren Batchelor Date: Wed, 15 Sep 2021 13:51:31 -0700 Subject: [PATCH] Upgraded Dismiss button to behave at 225% setting --- .../SamplePages/InAppNotification/InAppNotificationXaml.bind | 3 ++- .../InAppNotification/Styles/MSEdgeNotificationStyle.xaml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification/InAppNotificationXaml.bind b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification/InAppNotificationXaml.bind index 54df9a690..081c08373 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification/InAppNotificationXaml.bind +++ b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification/InAppNotificationXaml.bind @@ -110,6 +110,7 @@ + @@ -264,7 +265,7 @@ VerticalAlignment="Center" Visibility="{Binding ShowDismissButton, ElementName=ExampleCustomInAppNotification}"> - + diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Core/InAppNotification/Styles/MSEdgeNotificationStyle.xaml b/Microsoft.Toolkit.Uwp.UI.Controls.Core/InAppNotification/Styles/MSEdgeNotificationStyle.xaml index 00299dec0..7978b2982 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Core/InAppNotification/Styles/MSEdgeNotificationStyle.xaml +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Core/InAppNotification/Styles/MSEdgeNotificationStyle.xaml @@ -43,6 +43,7 @@ + @@ -150,9 +151,10 @@ FontFamily="Segoe MDL2 Assets" FontSize="12" VerticalAlignment="Top" + Padding="4" Style="{StaticResource DismissTextBlockButtonStyle}"> - +