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 AMSiyamed
01/13/2021, 3:31 AMSiyamed
01/13/2021, 3:32 AMLilly
01/13/2021, 1:13 PMalorma
01/13/2021, 4:45 PMLilly
01/13/2021, 4:49 PMLilly
01/13/2021, 4:50 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 youLilly
01/13/2021, 5:04 PMSiyamed
01/13/2021, 5:29 PMSiyamed
01/13/2021, 5:36 PMprivate val TextFieldMinWidth = 280.dp
Siyamed
01/13/2021, 5:36 PMSiyamed
01/13/2021, 5:36 PMAnastasia [G]
01/13/2021, 5:37 PMAnastasia [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 PMLilly
01/13/2021, 5:39 PMText
and Surface
?Siyamed
01/13/2021, 5:40 PMBasicTextField
Siyamed
01/13/2021, 5:40 PMSiyamed
01/13/2021, 5:45 PMLilly
01/13/2021, 5:48 PM