Dynamic TextField lenght

Hi!
I would like that my Text Field take all the remaining length of the screen. Is there a way to design that?

Thanks!

What are you experiencing now?

The length depends of how long I design it