I came across a chat example by Erel. It shows how to create bubble color. But it does not show how to change the floattextfield's height as the number of letters increases or when the enter key is pressed. I also found this forum:
Any further guidance how to increase the height of floattextfield's height as the user type letters just like in the FB messenger? I followed erel's chat example. The floattextfield is inside the panel. I guest I have to increase the panel's height as well.