Hello, as you can see on screenshot below have button which holds two states of content one is text Login and second is text Please Wait with spinning circle.
I would like to ask you how can I switch between it, I tried “enabled” but it is still visible it is just grayed out, then I tried visibility which works but problem is that it will keep resized button (you can see on second screenshot). So I wonder what is correct way of doing it.