Skip to content

Label WordWrap does not work inside HorizontalStackLayout or StackLayout with horizontal orientation #10917

Closed

Description

Description

A Label with LineBreakMode="WordWrap" does not wrap the text when inside a HorizontalStackLayout or StackLayout with Orientation="Horizontal". It works with a VerticalStackLayout.

Steps to Reproduce

  1. Put a Label inside a HorizontalStackLayout
  2. Set LineBreakMode to "WordWrap" and give it a long text
  3. Label doesnt break its text

Link to public reproduction project repository

https://github.com/borrmann/LabelBreak

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Windows

Affected platform versions

iOS 16, Windows 10.0.171340.0

Did you find any workaround?

no

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions