added argument maxNumberOfLines to TextBox::render method. text will be truncated