-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix Android TextView being truncated under some conditions #27179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
879f34e
Fix #17884 Android TextView truncated under some conditions
albyrock87 4720797
Remove workaround as rounding by epsilon fixed the issue
albyrock87 2789477
Update screenshots
albyrock87 fd979f7
Update more tests snapshots
jsuarezruiz fa99aa7
Update more snapshots
jsuarezruiz a527c69
Added a new test to validate Issue 22853
jsuarezruiz 2252223
Pending snapshots
jsuarezruiz d320277
- update screen shots
PureWeen 8d217b5
Add conditional compilation for NUnit import.
PureWeen eac1f8b
Update preprocessor directive for MACCATALYST test
PureWeen ce6702f
- update screen shots
PureWeen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
src/Controls/tests/DeviceTests/Elements/View/ViewTests.Android.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Reflection; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Android.Views; | ||
using Microsoft.Extensions.DependencyInjection; | ||
using Microsoft.Maui; | ||
using Microsoft.Maui.Controls; | ||
using Microsoft.Maui.Controls.Handlers; | ||
using Microsoft.Maui.DeviceTests.Stubs; | ||
using Microsoft.Maui.Graphics; | ||
using Microsoft.Maui.Handlers; | ||
using Microsoft.Maui.Hosting; | ||
using Microsoft.Maui.Platform; | ||
using Xunit; | ||
using Xunit.Sdk; | ||
|
||
namespace Microsoft.Maui.DeviceTests | ||
{ | ||
public partial class ViewTests | ||
{ | ||
[Theory] | ||
[InlineData(1)] | ||
[InlineData(2)] | ||
[InlineData(3)] | ||
[InlineData(4)] | ||
[InlineData(5)] | ||
[InlineData(6)] | ||
[InlineData(7)] | ||
[InlineData(8)] | ||
[InlineData(9)] | ||
[InlineData(10)] | ||
[InlineData(11)] | ||
public async Task ArrangesContentWithoutOverlapAndWithProperSize(int columnCount) | ||
{ | ||
EnsureHandlerCreated(builder => | ||
{ | ||
builder.ConfigureMauiHandlers(handlers => | ||
{ | ||
handlers.AddHandler<ContentView, ContentViewHandler>(); | ||
handlers.AddHandler<Layout, LayoutHandler>(); | ||
}); | ||
}); | ||
|
||
await InvokeOnMainThreadAsync(async () => | ||
{ | ||
var grid = new Grid(); | ||
grid.WidthRequest = 293; | ||
grid.ColumnDefinitions = new ColumnDefinitionCollection( | ||
Enumerable.Range(0, columnCount) | ||
.Select(_ => new ColumnDefinition()) | ||
.ToArray()); | ||
|
||
for (int i = 0; i < columnCount; i++) | ||
{ | ||
var content = new ContentView(); | ||
content.BackgroundColor = new Color(255 / (i + 1), 255 / (i + 1), 255 / (i + 1)); | ||
content.HeightRequest = 50; | ||
grid.Add(content, i); | ||
} | ||
|
||
await CreateHandlerAndAddToWindow(grid, (LayoutHandler handler) => | ||
{ | ||
var platformView = (ViewGroup)handler.PlatformView; | ||
var childrenPlatformViews = Enumerable.Range(0, platformView.ChildCount) | ||
.Select(n => platformView.GetChildAt(n)!); | ||
var arrangedFrames = childrenPlatformViews | ||
.Select(v => (v.Left, v.Top, v.Right, v.Bottom, v.Width, v.Height)) | ||
.ToArray(); | ||
var context = platformView.Context; | ||
|
||
int lastRight = 0; | ||
for (int i = 0; i < arrangedFrames.Length; i++) | ||
{ | ||
var childVirtualView = grid[i]; | ||
var dpFrame = childVirtualView.Frame; | ||
var pxFrame = arrangedFrames[i]; | ||
var expectedWidth = context.ToPixels(dpFrame.Width); | ||
|
||
// This fails sometimes due to the way we arrange the content based on coordinates instead of size | ||
// Assert.Equal(expectedWidth, pxFrame.Width); | ||
Assert.True(pxFrame.Left == lastRight); | ||
|
||
lastRight = pxFrame.Right; | ||
} | ||
}); | ||
}); | ||
} | ||
} | ||
} |
Binary file modified
BIN
+2 Bytes
(100%)
...Android.Tests/snapshots/android/BorderWidthAffectsTheImageSizingBorderWidth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...es.Android.Tests/snapshots/android/BorderWidthAffectsTheImageSizingOriginal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4 Bytes
(100%)
....Android.Tests/snapshots/android/ButtonLayoutResizesWithImagePositionBottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...ses.Android.Tests/snapshots/android/ButtonLayoutResizesWithImagePositionTop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+64 Bytes
(100%)
...ts/TestCases.Android.Tests/snapshots/android/ButtonPaddingIsAddedWhenNeeded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-362 Bytes
(100%)
...Android.Tests/snapshots/android/ButtonResizesWhenTitleOrImageChangesAltered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-922 Bytes
(100%)
...ndroid.Tests/snapshots/android/ButtonResizesWhenTitleOrImageChangesOriginal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-44 Bytes
(100%)
...s/android/ButtonsLayoutResolveWhenParentSizeChangesSizeButtonsDownLandscape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...es.Android.Tests/snapshots/android/CVHorizontalLinearItemsLayoutItemSpacing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+14 Bytes
(100%)
...TestCases.Android.Tests/snapshots/android/CarouselViewShouldRenderCorrectly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 Byte
(100%)
...ols/tests/TestCases.Android.Tests/snapshots/android/ChangeShellContentTitle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+126 Bytes
(100%)
...ts/TestCases.Android.Tests/snapshots/android/CollectionViewMeasureFirstItem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-36.1 KB
(19%)
...ases.Android.Tests/snapshots/android/CollectionViewPreSelectionShouldUpdate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5 Bytes
(100%)
...trols/tests/TestCases.Android.Tests/snapshots/android/EditorBackgroundWorks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 Byte
(100%)
...sts/TestCases.Android.Tests/snapshots/android/EditorIsReadOnlyPreventModify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2 Bytes
(100%)
.../tests/TestCases.Android.Tests/snapshots/android/EntryIsPasswordObscureText.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-556 Bytes
(100%)
...Controls/tests/TestCases.Android.Tests/snapshots/android/Issue22433_Default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue22433_Layout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-657 Bytes
(99%)
...Controls/tests/TestCases.Android.Tests/snapshots/android/Issue22433_Spacing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5.93 KB
(110%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue2842Test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 Byte
(100%)
...ests/TestCases.Android.Tests/snapshots/android/LabelHyperlinkUnderlineColor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-74 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/LoadAndVerifyGif.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+210 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/LoadAndVerifyJpg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+64 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/LoadAndVerifyPng.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+27 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/NoScrollbarsTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+165 Bytes
(100%)
...s.Android.Tests/snapshots/android/RadioButtonShouldApplyPropertiesCorrectly.png
Oops, something went wrong.
Binary file modified
BIN
+111 Bytes
(100%)
...tCases.Android.Tests/snapshots/android/RadioButtonUpdateValueInsideBorderNo.png
Oops, something went wrong.
Binary file modified
BIN
+51 Bytes
(100%)
...pshots/android/RefreshIconDisappearsWhenUserCancelsRefreshByScrollingBackUp.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
.../tests/TestCases.Android.Tests/snapshots/android/RefreshShouldNotChangeSize.png
Oops, something went wrong.
Binary file modified
BIN
+43 Bytes
(100%)
...ests/TestCases.Android.Tests/snapshots/android/RemoveExtraPaddingFromButton.png
Oops, something went wrong.
Binary file modified
BIN
+5.49 KB
(120%)
...Controls/tests/TestCases.Android.Tests/snapshots/android/ShadowShouldUpdate.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...ts/TestCases.Android.Tests/snapshots/android/ShadowsDontRespectControlShape.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
.../TestCases.Android.Tests/snapshots/android/SystemFontsShouldRenderCorrectly.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...tests/TestCases.Android.Tests/snapshots/android/TextsInEditorsBeforeScaling.png
Oops, something went wrong.
Binary file modified
BIN
+77 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyButtonPage4.png
Oops, something went wrong.
Binary file modified
BIN
+127 Bytes
(100%)
...ls/tests/TestCases.Android.Tests/snapshots/android/VerifyButtonPage8_Center.png
Oops, something went wrong.
Binary file modified
BIN
+127 Bytes
(100%)
...trols/tests/TestCases.Android.Tests/snapshots/android/VerifyButtonPage8_End.png
Oops, something went wrong.
Binary file modified
BIN
+127 Bytes
(100%)
...ols/tests/TestCases.Android.Tests/snapshots/android/VerifyButtonPage8_Start.png
Oops, something went wrong.
Binary file modified
BIN
-77 Bytes
(99%)
.../tests/TestCases.Android.Tests/snapshots/android/VerifyCheckBoxCheckedState.png
Oops, something went wrong.
Binary file modified
BIN
+35 Bytes
(100%)
...ests/TestCases.Android.Tests/snapshots/android/VerifyCheckBoxUnCheckedState.png
Oops, something went wrong.
Binary file modified
BIN
+5 Bytes
(100%)
.../tests/TestCases.Android.Tests/snapshots/android/VerifyDynamicEditorScaling.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...tCases.Android.Tests/snapshots/android/VerifyEditorCharacterSpacingWithText.png
Oops, something went wrong.
Binary file modified
BIN
+2.31 KB
(100%)
...Controls/tests/TestCases.Android.Tests/snapshots/android/VerifyImageAspects.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
....Tests/snapshots/android/VerifyLabelTextColorWhenResettingFromFormattedText.png
Oops, something went wrong.
Binary file modified
BIN
-276 Bytes
(99%)
...stCases.Android.Tests/snapshots/android/VerifyTextDecorationAppliedProperly.png
Oops, something went wrong.
Binary file added
BIN
+30.8 KB
...rols/tests/TestCases.Android.Tests/snapshots/android/VerifyTextIsNotMissing.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
.../tests/TestCases.Android.Tests/snapshots/android/VerifyToolbarItemIconColor.png
Oops, something went wrong.
Binary file added
BIN
+28.9 KB
...TestCases.Android.Tests/snapshots/android/WordWrapLineBreakModeNoExtraSpace.png
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
src/Controls/tests/TestCases.HostApp/Issues/Issue17884.xaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="Maui.Controls.Sample.Issues.Issue17884"> | ||
<Label Text="CHAT MISSING_WORD" | ||
TextColor="Black" | ||
AutomationId="StubLabel" | ||
x:Name="StubLabel" | ||
FontSize="16" | ||
FontFamily="MontserratBold" | ||
Shadow="{Shadow Offset='0,1', Radius=1, Brush=Aqua}" | ||
MaxLines="1" | ||
LineBreakMode="NoWrap" | ||
VerticalOptions="Center" | ||
HorizontalOptions="Center"> | ||
<Label.GestureRecognizers> | ||
<TapGestureRecognizer Tapped="OnStubLabelTapped"/> | ||
</Label.GestureRecognizers> | ||
</Label> | ||
</ContentPage> |
17 changes: 17 additions & 0 deletions
17
src/Controls/tests/TestCases.HostApp/Issues/Issue17884.xaml.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
| ||
namespace Maui.Controls.Sample.Issues | ||
{ | ||
[Issue(IssueTracker.Github, 17884, "[Android] Entire words omitted & letters truncated from Label display", PlatformAffected.Android)] | ||
public partial class Issue17884 : ContentPage | ||
{ | ||
public Issue17884() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void OnStubLabelTapped(object sender, EventArgs e) | ||
{ | ||
++StubLabel.FontSize; | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
src/Controls/tests/TestCases.HostApp/Issues/Issue22853.xaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage | ||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="Maui.Controls.Sample.Issues.Issue22853"> | ||
<Grid | ||
Margin="24" | ||
ColumnDefinitions="*,auto,auto" | ||
HorizontalOptions="Center" | ||
VerticalOptions="Start" | ||
ColumnSpacing="2"> | ||
|
||
<Label | ||
AutomationId="WaitForStubControl" | ||
BackgroundColor="DarkSlateGray" | ||
Grid.Column="0" | ||
HorizontalOptions="Start" | ||
LineBreakMode="WordWrap" | ||
LineHeight="1" | ||
FontSize="Caption" | ||
Text="Svorna, Mikeondoko Nananom Dadadadodo Septop" | ||
TextColor="White" | ||
VerticalOptions="Start" | ||
VerticalTextAlignment="Start" /> | ||
|
||
<Label | ||
BackgroundColor="DarkGreen" | ||
Grid.Column="1" | ||
Text=" • " | ||
TextColor="White" | ||
LineHeight="1" | ||
FontSize="Caption" | ||
VerticalOptions="Start" | ||
HorizontalOptions="Center" | ||
HorizontalTextAlignment="Center" | ||
VerticalTextAlignment="Start" /> | ||
|
||
<Label | ||
BackgroundColor="DarkRed" | ||
Grid.Column="2" | ||
LineHeight="1" | ||
FontSize="Caption" | ||
Text="May 32-Jun 33, 2069" | ||
TextColor="White" | ||
VerticalOptions="Start" | ||
VerticalTextAlignment="Start" /> | ||
|
||
</Grid> | ||
</ContentPage> |
12 changes: 12 additions & 0 deletions
12
src/Controls/tests/TestCases.HostApp/Issues/Issue22853.xaml.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace Maui.Controls.Sample.Issues | ||
{ | ||
[Issue(IssueTracker.Github, 22853, "WordWrap LineBreakMode leaves extra space on Android", PlatformAffected.Android | ||
)] | ||
public partial class Issue22853 : ContentPage | ||
{ | ||
public Issue22853() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+230 KB
src/Controls/tests/TestCases.HostApp/Resources/Fonts/Montserrat-Bold.otf
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17884.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#if ANDROID | ||
using NUnit.Framework; | ||
using UITest.Appium; | ||
using UITest.Core; | ||
|
||
namespace Microsoft.Maui.TestCases.Tests.Issues | ||
{ | ||
public class Issue17884 : _IssuesUITest | ||
{ | ||
public Issue17884(TestDevice device) | ||
: base(device) | ||
{ } | ||
|
||
public override string Issue => "[Android] Entire words omitted & letters truncated from Label display"; | ||
|
||
[Test] | ||
[Category(UITestCategories.Visual)] | ||
public void VerifyTextIsNotMissing() | ||
{ | ||
App.WaitForElement("StubLabel"); | ||
VerifyScreenshot(); | ||
} | ||
} | ||
} | ||
#endif |
25 changes: 25 additions & 0 deletions
25
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22853.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#if TEST_FAILS_ON_MACCATALYST //https://github.com/dotnet/maui/pull/27531 | ||
using NUnit.Framework; | ||
using UITest.Appium; | ||
using UITest.Core; | ||
|
||
namespace Microsoft.Maui.TestCases.Tests.Issues | ||
{ | ||
internal class Issue22853 : _IssuesUITest | ||
{ | ||
public Issue22853(TestDevice device) : base(device) | ||
{ | ||
} | ||
|
||
public override string Issue => "WordWrap LineBreakMode leaves extra space on Android"; | ||
|
||
[Test] | ||
[Category(UITestCategories.Label)] | ||
public void WordWrapLineBreakModeNoExtraSpace() | ||
{ | ||
App.WaitForElement("WaitForStubControl"); | ||
VerifyScreenshot(); | ||
} | ||
} | ||
} | ||
#endif |
Binary file added
BIN
+8.43 KB
...s/TestCases.WinUI.Tests/snapshots/windows/WordWrapLineBreakModeNoExtraSpace.png
Oops, something went wrong.
Binary file added
BIN
+36.4 KB
...s/tests/TestCases.iOS.Tests/snapshots/ios/WordWrapLineBreakModeNoExtraSpace.png
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.