My problem:
I have multiple TextField in same page. I give the fillMaxWidth() in my rootView(column). But all child views width take it as wrap_content.
My code:
Column(
verticalArrangement = Arrangement.SpaceAround,
modifier = Modifier
.padding(10.dp)
.fillMaxWidth()//I give the max width here
.fillMaxHeight()
) {
MyTextField1()// No modifiers used
MyTextField2()
...
}
Output:
My question:
I have list of TextFields. So code simplicity I want to handle within rootView. It's any other option to fill the width for all child views?

