Verify that the parent of the subform also has a flow layout. If you have the below structure, both page1 and subform need to have a flow layout.
page1 (must be flow)
subform (must be flow)
textfield (must be allow multiple lines and expand to fit for height)
If you've done all of that, then it should work.