Skip to content

Bug: Android Label word wrapping clips text depending on alignment and layout options #34459

@darrabam

Description

@darrabam

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:

Image Image Image Image

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

Link

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-labelLabel, Spani/regressionThis issue described a confirmed regression on a currently supported versionp/0Current heighest priority issues that we are targeting for a release.partner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-10.0.40s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions