Skip to content

Commit

Permalink
Update PathIcon.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed Aug 7, 2023
1 parent 0a0603f commit 47ab849
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WPFDevelopers.Shared/Themes/PathIcon.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<Setter Property="Focusable" Value="False" />
<Setter Property="Height" Value="16" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="Foreground">
<Setter.Value>
<Binding Path="Foreground" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type Control}}" />
Expand All @@ -27,8 +27,8 @@
<ControlTemplate TargetType="{x:Type controls:PathIcon}">
<Viewbox
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
VerticalAlignment="{TemplateBinding VerticalAlignment}"
UseLayoutRounding="True">
<Path
x:Name="PART_Path"
Expand Down

0 comments on commit 47ab849

Please sign in to comment.