# ATTR_SIZE_MODE (Tree Item)

Type: | Tree Item attribute
Description: | The method of determining the height of the tree item.
Data Type: | integer
Default Value: | VAL_SIZE_TO_CELL_FONT

Values

VAL_USE_EXPLICIT_SIZE | The actual item height is the value of ATTR_ITEM_HEIGHT.
VAL_SIZE_TO_CELL_FONT | The actual item height is the largest height of the text in all cells of the item. For a given cell, the height of its text depends exclusively on the font. It does not depend on the contents of the cell.