# XTR.ITEMLINES > [HTML Version](xtr_itemlines.htm) _Updated June 2013; see History_ For XTREE controls with variable height items (XTF\_VARY), specifies the maximum number of lines of text that will be displayed for a single item. For fixed height items—i.e. when the XTF\_VARY flag is not specified)—XTR.ITEMLINES determines the display height of every row. [Sample image here.](https://www.flickr.com/photos/147576700@N02/50585500152/in/album-72157716821830643/) | **Value** | **Description** | |------|------| | \-1
or 255 | Produces a row height equal to that needed for editable cells, which is typically about one and a half rows high. (This is automatic when the tree contains editable cells.) | | \-2 | Adjust row heights to largest row font (+4 pixels leading) | | \-3 | Same as -2 but with only 3 pixels of leading | | \-4 | Same as -2 but with only 2 pixels of leading | | \-5 | Same as -2 but with only 1 pixel of leading | | \-6 | Same as -2 but with no extra leading | | \-8 | See History | **History** 2013 June, A-Shell 6.1.1354: Add support for -8. Although -6 theoretically provides no extra leading, it turns out that when using the XTF\_VARY flag, the rows are more tightly spaced than XTR.ITEMLINES = -6 (without XTF\_VARY); XTR.ITEMLINES = -8 comes closer to the emulating the XTF\_VARY spacing. 2012 April, A-Shell 6.0.1248: Add support for -3, -4, -5, -6 2011 September, A-Shell 5.1.11233: Add support for -2