Expand an element when the next one beside it is hidden


I have this password field on the register form that I want to expand on the login form below.
The inputs are in a cell in a row in a container.


I would like on login, the password field to expand to full width.

You need to make sure the cell width is configured to occupy all available space:
UI Builder - ConsoleDemo - Backendless 2022-06-10 17-31-46

The problem here is that when I set it up like this.

The field occupies the entire width but I wanted it to show half width when the form property is set to register

I would try the following:

Have a row with the cell taking full width and another row with cell taking half the width. Change row visibility depending on the mode of the form.