Skip to content

Commit 79127cf

Browse files
authored
Merge pull request #3508 from chingucoding/user/chingucoding/githubicon-fix
Fix GitHub icon positioning
2 parents 49a88c7 + 387164c commit 79127cf

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Microsoft.Toolkit.Uwp.SampleApp/Pages/SampleController.xaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,12 @@
5050
Margin="5,0,0,0"
5151
Width="50">
5252
<AppBarButton.Icon>
53-
<PathIcon
54-
Data="{StaticResource GithubIcon}"
55-
Width="50"
56-
Height="50"
57-
Margin="-10">
53+
<PathIcon Margin="-3"
54+
VerticalAlignment="Center"
55+
HorizontalAlignment="Center"
56+
Data="{StaticResource GithubIcon}">
5857
<PathIcon.RenderTransform>
59-
<CompositeTransform TranslateY="8" TranslateX="3" />
58+
<CompositeTransform TranslateY="5" TranslateX="-5" />
6059
</PathIcon.RenderTransform>
6160
</PathIcon>
6261
</AppBarButton.Icon>

0 commit comments

Comments
 (0)