Skip to content

Commit 9643ee7

Browse files
committed
add SystemControlMSEdgeNotificationButtonBorderThickness resource
1 parent aadc591 commit 9643ee7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/InAppNotification/Styles/MSEdgeNotificationStyle.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<Thickness x:Key="SystemControlMSEdgeNotificationDismissButtonMargin">24,0,0,0</Thickness>
2525
<x:Double x:Key="SystemControlMSEdgeNotificationDismissButtonTranslate">18</x:Double>
2626
<VerticalAlignment x:Key="SystemControlMSEdgeNotificationDismissButtonVerticalAlignment">Center</VerticalAlignment>
27+
<Thickness x:Key="SystemControlMSEdgeNotificationButtonBorderThickness">2</Thickness>
2728

2829
<Style x:Key="DismissTextBlockButtonStyle" TargetType="ButtonBase">
2930
<Setter Property="Background" Value="{ThemeResource HyperlinkButtonBackground}" />
@@ -36,7 +37,7 @@
3637
<Setter.Value>
3738
<ControlTemplate TargetType="ButtonBase">
3839
<Grid x:Name="RootGrid" Margin="{TemplateBinding Padding}" Background="{TemplateBinding Background}">
39-
<Border x:Name="TextBorder" BorderThickness="2" BorderBrush="{ThemeResource SystemControlMSEdgeNotificationButtonBorderBrush}">
40+
<Border x:Name="TextBorder" BorderThickness="{StaticResource SystemControlMSEdgeNotificationButtonBorderThickness}" BorderBrush="{ThemeResource SystemControlMSEdgeNotificationButtonBorderBrush}">
4041
<ContentPresenter x:Name="Text"
4142
Content="{TemplateBinding Content}"
4243
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"

0 commit comments

Comments
 (0)