Skip to content

SfButton Does Not Wrap Text or Resize Vertically Without WidthRequest #190

@damiansikora85

Description

@damiansikora85

Description

SfButton does not wrap text or resize vertically when long text is set, even if LineBreakMode="WordWrap" is enabled and layout allows flexible height. The button only grows vertically if WidthRequest is explicitly set, which breaks responsive layout design.

Steps to Reproduce

Version with bug

1.0.4

Is this a regression from previous behavior?

Not sure, haven't tested other versions

Last Known Working Version

1.0.3

Affected platforms

Android

Affected Platform Versions

No response

Have you found a workaround?

💡 Workarounds Tried:

  • Using InvalidateMeasure()

  • Setting MaximumWidthRequest

  • Manual \n line breaks ✅ (works, but impractical)

Relevant log output

Metadata

Metadata

Labels

bugSomething isn't workingbutton

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions