[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdCtrls' (#lcl)

# TCustomComboBox.ItemWidth

The minimum width of the items in the drop-down list.

## Declaration

Source position: stdctrls.pp line 395

`protected property TCustomComboBox.ItemWidth : Integer read GetItemWidth write SetItemWidth default 0;`

## Description

ItemWidth is an Integer property which contains the minimum number of pixels used when displaying the static or drop-down list for the control. The default value for the property is 0 (zero).

Setting a new value for the property causes the AdjustDropDown method to be called to adjust the dimensions for the list to the values in ItemHeight, ItemWidth, and DropDownCount.

Use ItemHeight to specify the number of pixels required for items displayed in the drop-down list for the control.

## See also

TCustomComboBox.DropDownCount |  | The maximum number of Items visible in the drop-down list for the control.
TCustomComboBox.ItemHeight |  | The default height of an item in the drop-down for the control.
TCustomComboBox.AdjustDropDown |  | Adjusts the extent for the drop-down list.