Jaspreet,
what GUI framework / tool are you using?
In the composition editor, there's no way to achieve what you are asking for without hand-written code. The ABT layer is quite old and hasn't seen many updates over the last decade or so. Even such simple things as resizable rows are hard to do. There is, however, some add-on from Instantiations (WidgetKit Controls), that once added a few features to the ABT layer. It can be downloaded from the Instantiations website.
If you are using WindowBuilder (and therefor CommonWidgets), my answer is till valid, but it may be easier to add code to set the row height in response to some events.
So the short answer is: The GUI Framework(s) in VA ST are not capable to do what you ask for out of the box, but you can add the desired behaviour.
I know that this is a sad answer.
Joachim