compose-richtext icon indicating copy to clipboard operation
compose-richtext copied to clipboard

RichText should be unopinionated about layout

Open zach-klippenstein opened this issue 3 years ago • 0 comments

It currently wraps children in a Column, but now that Arrangement.spacedBy exists, there's no need to do that. Not wrapping in a column allows long documents to be rendered using LazyColumn, for example.

Related, maybe RichTextStyle shouldn't include block spacing at all, although I think it still might be useful for lists and stuff.

zach-klippenstein avatar Oct 07 '20 15:10 zach-klippenstein