File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification
Microsoft.Toolkit.Uwp.UI.Controls.Core/InAppNotification/Styles Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 110110 <Setter Property="Foreground" Value="{ThemeResource ApplicationForegroundThemeBrush}" />
111111 <Setter Property="Width" Value="40" />
112112 <Setter Property="Height" Value="40" />
113+ <Setter Property="Padding" Value="4" />
113114 <Setter Property="UseSystemFocusVisuals" Value="True" />
114115 <Setter Property="HighContrastAdjustment" Value="None" />
115116 <Setter Property="Template">
264265 VerticalAlignment="Center"
265266 Visibility="{Binding ShowDismissButton, ElementName=ExampleCustomInAppNotification}">
266267 <Button.RenderTransform>
267- <TranslateTransform x:Name="DismissButtonTransform" X="25 " Y="-5 "/>
268+ <TranslateTransform x:Name="DismissButtonTransform" X="20 " Y="1 "/>
268269 </Button.RenderTransform>
269270 </Button>
270271 </Grid>
Original file line number Diff line number Diff line change 4343 <Setter Property =" Foreground" Value =" {ThemeResource ApplicationForegroundThemeBrush}" />
4444 <Setter Property =" Width" Value =" {StaticResource SystemControlMSEdgeNotificationDismissButtonSize}" />
4545 <Setter Property =" Height" Value =" {StaticResource SystemControlMSEdgeNotificationDismissButtonSize}" />
46+ <Setter Property =" Padding" Value =" 4" />
4647 <Setter Property =" UseSystemFocusVisuals" Value =" True" />
4748 <Setter Property =" HighContrastAdjustment" Value =" None" />
4849 <Setter Property =" Template" >
150151 FontFamily =" Segoe MDL2 Assets"
151152 FontSize =" 12"
152153 VerticalAlignment =" Top"
154+ Padding =" 4"
153155 Style =" {StaticResource DismissTextBlockButtonStyle}" >
154156 <Button .RenderTransform>
155- <TranslateTransform x : Name =" DismissButtonTransform" X =" 25 " Y =" -5 " />
157+ <TranslateTransform x : Name =" DismissButtonTransform" X =" 20 " Y =" 1 " />
156158 </Button .RenderTransform>
157159 </Button >
158160 </Grid >
You can’t perform that action at this time.
0 commit comments