Add maxWidth property for Text and IText.