Upgraded Dismiss button to behave at 225% setting
This commit is contained in:
Родитель
03c3f3c262
Коммит
3237e699ac
|
@ -110,6 +110,7 @@
|
|||
<Setter Property="Foreground" Value="{ThemeResource ApplicationForegroundThemeBrush}" />
|
||||
<Setter Property="Width" Value="40" />
|
||||
<Setter Property="Height" Value="40" />
|
||||
<Setter Property="Padding" Value="4" />
|
||||
<Setter Property="UseSystemFocusVisuals" Value="True" />
|
||||
<Setter Property="HighContrastAdjustment" Value="None" />
|
||||
<Setter Property="Template">
|
||||
|
@ -264,7 +265,7 @@
|
|||
VerticalAlignment="Center"
|
||||
Visibility="{Binding ShowDismissButton, ElementName=ExampleCustomInAppNotification}">
|
||||
<Button.RenderTransform>
|
||||
<TranslateTransform x:Name="DismissButtonTransform" X="25" Y="-5"/>
|
||||
<TranslateTransform x:Name="DismissButtonTransform" X="20" Y="1"/>
|
||||
</Button.RenderTransform>
|
||||
</Button>
|
||||
</Grid>
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
<Setter Property="Foreground" Value="{ThemeResource ApplicationForegroundThemeBrush}" />
|
||||
<Setter Property="Width" Value="{StaticResource SystemControlMSEdgeNotificationDismissButtonSize}" />
|
||||
<Setter Property="Height" Value="{StaticResource SystemControlMSEdgeNotificationDismissButtonSize}" />
|
||||
<Setter Property="Padding" Value="4" />
|
||||
<Setter Property="UseSystemFocusVisuals" Value="True" />
|
||||
<Setter Property="HighContrastAdjustment" Value="None" />
|
||||
<Setter Property="Template">
|
||||
|
@ -150,9 +151,10 @@
|
|||
FontFamily="Segoe MDL2 Assets"
|
||||
FontSize="12"
|
||||
VerticalAlignment="Top"
|
||||
Padding="4"
|
||||
Style="{StaticResource DismissTextBlockButtonStyle}">
|
||||
<Button.RenderTransform>
|
||||
<TranslateTransform x:Name="DismissButtonTransform" X="25" Y="-5"/>
|
||||
<TranslateTransform x:Name="DismissButtonTransform" X="20" Y="2"/>
|
||||
</Button.RenderTransform>
|
||||
</Button>
|
||||
</Grid>
|
||||
|
|
Загрузка…
Ссылка в новой задаче