Pass padding down through ActionButton

This commit is contained in:
Yoshi Askharoun
2024-05-16 16:19:21 -05:00
parent 17b4eb91e5
commit 070fd49dba
+2 -1
View File
@@ -67,13 +67,14 @@
<Setter Property="Foreground" Value="{StaticResource ZuneMediumTextBrush}"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="FontSize" Value="10"/>
<Setter Property="Padding" Value="12,0"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="Border" BorderThickness="1.5"
Background="{StaticResource NormalBackgroundBrush}"
BorderBrush="{StaticResource NormalBorderBrush}"
Padding="12,0" CornerRadius="4">
Padding="{TemplateBinding Padding}" CornerRadius="4">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
<VisualStateManager.VisualStateGroups>