Merge pull request #4249 from XAML-Knight/dev/InAppNotifDismiss225
Upgraded Dismiss button to be legible at 225% text display setting
This commit is contained in:
Коммит
6ed77211e0
|
@ -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="1"/>
|
||||
</Button.RenderTransform>
|
||||
</Button>
|
||||
</Grid>
|
||||
|
|
Загрузка…
Ссылка в новой задаче