maxHeight property
Maximum visible height in rows (0 = unlimited growth).
Only used in multi-line mode. When the number of wrapped lines exceeds this value, vertical scrolling is enabled. If 0, the view grows to fit all content.
Implementation
int maxHeight;