Assigned
Status Update
Comments
ma...@google.com <ma...@google.com>
po...@google.com <po...@google.com> #2
Hello, can you please attach a sample that reproduces your error?
Description
Consider the FancyTextField:
While looking innocent, this code breaks the passed modifiers. If I pass for example
Modifier.fillMaxWidth()
, then only the Column will have expanded width, and theTextField
will stay the same size, meaning thatfillMaxWidth
will not makeFancyTextField
fill max width (in practice). Obviously passing a modifier toTextField
(instead or in addition) won't work well.I propose having a parameter to row/column that propagates the minimum size to children Consider the FancyTextField:
And then
fillMaxHeight()
/fillMaxWidth()
will work properly.