Added maxLines parameter to override the maxHeight. This calculated the maxHeight and works with responsive text.