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="Foreground" Value="{ThemeResource ApplicationForegroundThemeBrush}" />
|
||||||
<Setter Property="Width" Value="40" />
|
<Setter Property="Width" Value="40" />
|
||||||
<Setter Property="Height" Value="40" />
|
<Setter Property="Height" Value="40" />
|
||||||
|
<Setter Property="Padding" Value="4" />
|
||||||
<Setter Property="UseSystemFocusVisuals" Value="True" />
|
<Setter Property="UseSystemFocusVisuals" Value="True" />
|
||||||
<Setter Property="HighContrastAdjustment" Value="None" />
|
<Setter Property="HighContrastAdjustment" Value="None" />
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
|
@ -264,7 +265,7 @@
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Visibility="{Binding ShowDismissButton, ElementName=ExampleCustomInAppNotification}">
|
Visibility="{Binding ShowDismissButton, ElementName=ExampleCustomInAppNotification}">
|
||||||
<Button.RenderTransform>
|
<Button.RenderTransform>
|
||||||
<TranslateTransform x:Name="DismissButtonTransform" X="25" Y="-5"/>
|
<TranslateTransform x:Name="DismissButtonTransform" X="20" Y="1"/>
|
||||||
</Button.RenderTransform>
|
</Button.RenderTransform>
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
<Setter Property="Foreground" Value="{ThemeResource ApplicationForegroundThemeBrush}" />
|
<Setter Property="Foreground" Value="{ThemeResource ApplicationForegroundThemeBrush}" />
|
||||||
<Setter Property="Width" Value="{StaticResource SystemControlMSEdgeNotificationDismissButtonSize}" />
|
<Setter Property="Width" Value="{StaticResource SystemControlMSEdgeNotificationDismissButtonSize}" />
|
||||||
<Setter Property="Height" Value="{StaticResource SystemControlMSEdgeNotificationDismissButtonSize}" />
|
<Setter Property="Height" Value="{StaticResource SystemControlMSEdgeNotificationDismissButtonSize}" />
|
||||||
|
<Setter Property="Padding" Value="4" />
|
||||||
<Setter Property="UseSystemFocusVisuals" Value="True" />
|
<Setter Property="UseSystemFocusVisuals" Value="True" />
|
||||||
<Setter Property="HighContrastAdjustment" Value="None" />
|
<Setter Property="HighContrastAdjustment" Value="None" />
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
|
@ -150,9 +151,10 @@
|
||||||
FontFamily="Segoe MDL2 Assets"
|
FontFamily="Segoe MDL2 Assets"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
|
Padding="4"
|
||||||
Style="{StaticResource DismissTextBlockButtonStyle}">
|
Style="{StaticResource DismissTextBlockButtonStyle}">
|
||||||
<Button.RenderTransform>
|
<Button.RenderTransform>
|
||||||
<TranslateTransform x:Name="DismissButtonTransform" X="25" Y="-5"/>
|
<TranslateTransform x:Name="DismissButtonTransform" X="20" Y="1"/>
|
||||||
</Button.RenderTransform>
|
</Button.RenderTransform>
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче