Skip to content

Commit 5a58c3b

Browse files
committed
fix XAML formatting
1 parent 1e64192 commit 5a58c3b

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
22

3-
<Style x:Key="NewInfoBadge" TargetType="InfoBadge">
4-
<Setter Property="Padding" Value="5,0,5,0" />
5-
<Setter Property="Template">
6-
<Setter.Value>
7-
<ControlTemplate TargetType="InfoBadge">
8-
<Grid
9-
x:Name="RootGrid"
10-
Background="{TemplateBinding Background}"
11-
CornerRadius="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.InfoBadgeCornerRadius}"
12-
Padding="{TemplateBinding Padding}">
13-
<TextBlock x:Uid="SettingsPage_NewInfoBadge" FontSize="{ThemeResource InfoBadgeValueFontSize}" FontWeight="SemiBold" HorizontalAlignment="Center" VerticalAlignment="Center" />
14-
</Grid>
15-
</ControlTemplate>
16-
</Setter.Value>
17-
</Setter>
18-
</Style>
3+
<Style x:Key="NewInfoBadge" TargetType="InfoBadge">
4+
<Setter Property="Padding" Value="5,0,5,0" />
5+
<Setter Property="Template">
6+
<Setter.Value>
7+
<ControlTemplate TargetType="InfoBadge">
8+
<Grid
9+
x:Name="RootGrid"
10+
Padding="{TemplateBinding Padding}"
11+
Background="{TemplateBinding Background}"
12+
CornerRadius="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.InfoBadgeCornerRadius}">
13+
<TextBlock
14+
x:Uid="SettingsPage_NewInfoBadge"
15+
HorizontalAlignment="Center"
16+
VerticalAlignment="Center"
17+
FontSize="{ThemeResource InfoBadgeValueFontSize}"
18+
FontWeight="SemiBold" />
19+
</Grid>
20+
</ControlTemplate>
21+
</Setter.Value>
22+
</Setter>
23+
</Style>
1924
</ResourceDictionary>

0 commit comments

Comments
 (0)