BubbleElement.MaxWidth property
Hard width cap in px (canvas units). 0 (default) = clamp to the parent/available width instead of a fixed cap. When the child’s natural (unwrapped) width exceeds the cap the bubble fixes at the cap and the child’s wrapping text flows to multiple lines; below the cap the bubble hugs the child’s width. For a right-aligned self row set an explicit cap (e.g. ~70% of the chat window) — a content-sized Row has no definite “available width” to clamp to.
public float MaxWidth { get; set; }See Also
Section titled “See Also”- record BubbleElement
- namespace Stellar.Abstractions.Services