What is the proper way to place buttons in column ...
# compose
i
What is the proper way to place buttons in column in AlertDialog when it length greater than the dialog width?
I try to solve it with
onTextLayout
here i check if text wrap and call callback
Here - if callback triggered i replace row with column
t
Depends on the needs but sometimes I use https://google.github.io/accompanist/flowlayout/
i
But result looks next
t
Alert dialogs with default options are bugged and are not resized when content change there's an open issue about that.
😯 1
i
And how to Flow Layouts can help me with resizing buggy alert dialog?
t
Because it's done at first measure pass.