|
119 | 119 | <Setter Property="MinWidth"
|
120 | 120 | Value="{StaticResource SettingsCardMinWidth}" />
|
121 | 121 | <Setter Property="Padding"
|
122 |
| - Value="0" /> |
| 122 | + Value="{StaticResource SettingsCardPadding}" /> |
123 | 123 | <Setter Property="TabNavigation"
|
124 | 124 | Value="Local" />
|
125 | 125 | <Setter Property="VerticalContentAlignment"
|
|
136 | 136 | Control.IsTemplateFocusTarget="True"
|
137 | 137 | CornerRadius="{TemplateBinding CornerRadius}"
|
138 | 138 | FocusVisualMargin="{TemplateBinding FocusVisualMargin}"
|
| 139 | + Padding="{TemplateBinding Padding}" |
139 | 140 | RenderTransformOrigin=".5,.5">
|
140 | 141 | <VisualStateManager.VisualStateGroups>
|
141 | 142 | <VisualStateGroup x:Name="CommonStates">
|
|
339 | 340 | ContentTemplate="{TemplateBinding ContentTemplate}"
|
340 | 341 | Content="{TemplateBinding Content}"
|
341 | 342 | HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
342 |
| - VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
343 |
| - Margin="{TemplateBinding Padding}" /> |
| 343 | + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> |
344 | 344 | </Grid>
|
345 | 345 | <TextBlock x:Name="PlaceholderTextBlock"
|
346 | 346 | Opacity="0"
|
347 | 347 | Text="Xg"
|
348 | 348 | Foreground="{x:Null}"
|
349 |
| - Margin="{TemplateBinding Padding}" |
350 | 349 | IsHitTestVisible="False"
|
351 | 350 | AutomationProperties.AccessibilityView="Raw" />
|
352 | 351 | <Rectangle x:Name="PlaceholderRect"
|
|
359 | 358 | FontSize="12"
|
360 | 359 | Foreground="{TemplateBinding Foreground}"
|
361 | 360 | Glyph="{StaticResource CardListViewItemChevronRightGlyph}"
|
362 |
| - Height="{StaticResource SettingsCardActionIconMaxSize}" |
| 361 | + Height="{StaticResource SettingsCardActionButtonHeight}" |
363 | 362 | HighContrastAdjustment="None"
|
364 |
| - HorizontalAlignment="Right" |
| 363 | + HorizontalAlignment="Center" |
365 | 364 | IsTextScaleFactorEnabled="False"
|
366 |
| - Margin="4,0,15,0" |
| 365 | + Margin="{StaticResource SettingsCardActionButtonMargin}" |
367 | 366 | ToolTipService.ToolTip="More"
|
368 |
| - VerticalAlignment="Center" /> |
| 367 | + VerticalAlignment="Center" |
| 368 | + Width="{StaticResource SettingsCardActionButtonWidth}" /> |
369 | 369 | </Grid>
|
370 | 370 | </ControlTemplate>
|
371 | 371 | </Setter.Value>
|
|
0 commit comments