Skip to content

Commit

Permalink
Add HorizontalAlignment="Center" to XamlDisplay in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Oct 9, 2023
1 parent 8a8aa72 commit ebd50c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShowMeTheXaml.Avalonia.Demo/Views/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
</StackPanel>
</Grid>

<showMeTheXaml:XamlDisplay UniqueId="123">
<showMeTheXaml:XamlDisplay UniqueId="123" HorizontalAlignment="Center">
<TextBlock Text="{Binding Greeting}" HorizontalAlignment="Center" VerticalAlignment="Center" />
</showMeTheXaml:XamlDisplay>
<showMeTheXaml:XamlDisplay UniqueId="1">
<showMeTheXaml:XamlDisplay UniqueId="1" HorizontalAlignment="Center">
<Canvas Background="Yellow" Width="300" Height="150">
<Rectangle Fill="Blue" Width="63" Height="41" Canvas.Left="20" Canvas.Top="11">
<Rectangle.OpacityMask>
Expand Down

0 comments on commit ebd50c4

Please sign in to comment.