# Growing and Shrinking of HtmlTextBox

By default, the HtmlTextBox report item has its size set.

To allow the HtmlTextBox to expand vertically based on its content, set its [CanGrow](https://www.telerik.com/products/reporting/documentation/api/telerik.reporting.textitembase#Telerik_Reporting_TextItemBase_CanGrow) property to its default `True` value.

To allow the HtmlTextBox to shrink based on its content, set its [CanShrink](https://www.telerik.com/products/reporting/documentation/api/telerik.reporting.textitembase#Telerik_Reporting_TextItemBase_CanShrink) property to `True`. By default, `CanShrink` is set to `False`. Note that the HtmlTextBox will always grow to accommodate the first line of text even when `CanGrow` is `False`.

## See Also

* [HtmlTextBox Class API Reference](https://www.telerik.com/products/reporting/documentation/api/telerik.reporting.htmltextbox)
* [Demo Page for Telerik Reporting](https://demos.telerik.com/reporting)
* [Telerik Reporting Knowledge Base](https://www.telerik.com/products/reporting/documentation/knowledge-base)
