https://kotlinlang.org logo
p

Piotr

02/01/2021, 1:54 PM
Hi, If someone could take a look at my problem, i’d be grateful https://stackoverflow.com/questions/65993932/dynamic-row-width-compose Cannot get row with basic text field to “shrink” properly and add another element to the right side
k

Kshitij Patil

02/01/2021, 3:08 PM
So you want to enable "cancel" button when text is not blank and TextField should expand entire width otherwise right ?
1
I think I can make it work. Let me get the access to my laptop and I'll try that out. Will let you soon.
@Piotr I’ve posted the answer. Do check it out and let me if that works for you.