-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Bug: Android Label word wrapping clips text depending on alignment and layout options #34459
Copy link
Copy link
Open
Labels
area-controls-labelLabel, SpanLabel, Spani/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionp/0Current heighest priority issues that we are targeting for a release.Current heighest priority issues that we are targeting for a release.partner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-10.0.40s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
On Android, a Label using LineBreakMode="WordWrap" inside a width-constrained layout may clip text on the right side depending on a combination of:
- FlowDirection
- HorizontalTextAlignment
- HorizontalOptions
- VerticalOptions
The following screenshots demonstrates the different behavior:
Note that in the last example, the wrapping/alignment worked fine when VerticalOptions is removed!
This is probably related to #34279
Steps to Reproduce
No response
Link to public reproduction project repository
Version with bug
10.0.50
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
10.0.30
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
Explicitly setting MaxLines make the label render correctly.
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-labelLabel, SpanLabel, Spani/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionp/0Current heighest priority issues that we are targeting for a release.Current heighest priority issues that we are targeting for a release.partner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-10.0.40s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo