Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<Border BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}">
<Grid>
<ContentControl x:Name="EmptyViewContentControl"
HorizontalContentAlignment="Stretch" VerticalAlignment="Stretch"/>
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"/>
<ScrollViewer x:Name="ScrollViewer"
TabNavigation="{TemplateBinding TabNavigation}"
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
Expand Down
10 changes: 5 additions & 5 deletions src/Controls/tests/TestCases.HostApp/Issues/Issue27229.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
xmlns:local="clr-namespace:Maui.Controls.Sample.Issues"
x:Name="ThisMainPage"
Title="Main Page">
<CollectionView>
<CollectionView AutomationId="ReadyToTest">
<CollectionView.EmptyView>
<ContentView>
<StackLayout HorizontalOptions="Center" VerticalOptions="Center">
<StackLayout HorizontalOptions="Center"
VerticalOptions="Center">
<Label
Margin="10,25,10,10"
FontAttributes="Bold"
FontSize="18"
HorizontalOptions="Fill"
HorizontalTextAlignment="Center"
AutomationId="ReadyToTest"
Text="No results matched your filter." />
Text="No results matched your filter."/>
<Label
FontAttributes="Italic"
FontSize="12"
HorizontalOptions="Fill"
HorizontalTextAlignment="Center"
Text="Try a broader filter?" />
Text="Try a broader filter?"/>
</StackLayout>
</ContentView>
</CollectionView.EmptyView>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#if TEST_FAILS_ON_WINDOWS
using NUnit.Framework;
using UITest.Appium;
using UITest.Core;
Expand All @@ -19,5 +18,4 @@ public void CollectionViewEmptyViewFillsAvailableSpaceByDefault()
VerifyScreenshot();
}
}
}
#endif
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.