Lilly
01/13/2021, 3:01 AMtrailing
slot of a ListItem
but due to its default minWidth of 280 dp I can't make it smaller without side effects. When I set the with of the TextField
it behaves not like expected. The TextField will always fill a width of 280 dp no matter what width I apply. What options do I have here? Should I make an own version of TextField -> what basic composable would I use to build on?Siyamed
01/13/2021, 3:31 AMLilly
01/13/2021, 1:13 PMalorma
01/13/2021, 4:45 PMLilly
01/13/2021, 4:49 PMstring array
for the possible selectionsalorma
01/13/2021, 4:52 PMLilly
01/13/2021, 5:04 PMtrailingIcon
slot out of the slot and remove this slot. Then you make your TextField clickable
via the modifier. And in the clickable block you define the expanding logic. I have currently stress otherwise I would implement it for youSiyamed
01/13/2021, 5:29 PMprivate val TextFieldMinWidth = 280.dp
Anastasia [G]
01/13/2021, 5:37 PMLilly
01/13/2021, 5:37 PMSiyamed
01/13/2021, 5:37 PMLilly
01/13/2021, 5:37 PMSiyamed
01/13/2021, 5:38 PMAnastasia [G]
01/13/2021, 5:38 PMLilly
01/13/2021, 5:38 PMText
and Surface
?Siyamed
01/13/2021, 5:40 PMBasicTextField
Lilly
01/13/2021, 5:48 PM