Retrieves the height, in pixels, of an item in the combo box.
public final int getItemHeight()
public final int getItemHeight( int index )
index
The zero-based index of the item to return the height for.
Returns the height, in pixels, of an item in the list.
For combo boxes with items of variable height (combo boxes whose drawMode property is set to DrawMode.OWNERDRAWVARIABLE), use the index parameter to indicate which item you want a height returned for. If you call this method on a combo box with items of variable height without supplying the index parameter, this method returns the height of the first item in the combo box.
See Also setItemHeight