Skip to content

Commit

Permalink
Update Test_UniformGrid_AutoLayout.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
niels9001 committed Apr 19, 2023
1 parent 6d77b0b commit fa91a76
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/Primitives/tests/Test_UniformGrid_AutoLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public void Test_UniformGrid_AutoLayout_FixedElementZeroZeroSpecial()
var treeRoot = XamlReader.Load(@"<Page
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml""
xmlns:ui=""using:Microsoft.Toolkit.Uwp.UI""
xmlns:controls=""using:CommunityToolkit.WinUI"">
<controls:UniformGrid x:Name=""UniformGrid"">
<Border/>
Expand All @@ -89,7 +88,7 @@ public void Test_UniformGrid_AutoLayout_FixedElementZeroZeroSpecial()
<!-- Since Grid Row/Columns are 0 by default, we need to also add
AutoLayout False here as well to get the desired behavior,
Otherwise we can't tell it apart from the other items. -->
<Border Grid.Row=""0"" Grid.Column=""0"" controls:UniformGrid.AutoLayout=""{ui:NullableBool Value=False}""/>
<Border Grid.Row=""0"" Grid.Column=""0"" controls:UniformGrid.AutoLayout=""{controls:NullableBool Value=False}""/>
<Border/>
</controls:UniformGrid>
</Page>") as FrameworkElement;
Expand Down

0 comments on commit fa91a76

Please sign in to comment.