Added support for limiting the height of dynamic text boxes