Skip to content

Commit 47ab849

Browse files
committed
Update PathIcon.xaml
1 parent 0a0603f commit 47ab849

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/WPFDevelopers.Shared/Themes/PathIcon.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<Setter Property="Focusable" Value="False" />
1616
<Setter Property="Height" Value="16" />
1717
<Setter Property="VerticalAlignment" Value="Center" />
18-
<Setter Property="VerticalContentAlignment" Value="Stretch" />
18+
<Setter Property="HorizontalAlignment" Value="Center" />
1919
<Setter Property="Foreground">
2020
<Setter.Value>
2121
<Binding Path="Foreground" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type Control}}" />
@@ -27,8 +27,8 @@
2727
<ControlTemplate TargetType="{x:Type controls:PathIcon}">
2828
<Viewbox
2929
Margin="{TemplateBinding Padding}"
30-
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
31-
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
30+
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
31+
VerticalAlignment="{TemplateBinding VerticalAlignment}"
3232
UseLayoutRounding="True">
3333
<Path
3434
x:Name="PART_Path"

0 commit comments

Comments
 (0)