dhtmlxCombo size

Looks like style “height:Npx” has no effect:
<select style=‘width:100px; height:40px;’ id=“combo”…>

var z = dhtmlXComboFromSelect("combo");

Yes, combo has fixed height. Only width can be changed. The height of the combo container is set in the dhtmlxcombo.css, dhx_combo_box class:

.dhx_combo_box{

}

Hi,

In order to have the combo automatically adjust its height to the number of options and have all the options displayed when the user selects a combo or dropdown, you can set “height:auto” in the dhtmlxcombo.css, dhx_combo_list class as below:

.dhx_combo_list{
position:absolute;
z-index:230;
overflow-y:auto;
overflow-x:hidden;
border:1px solid black;
height:auto;
font-family: Arial;
font-size: 9pt;
background-color: white;
z-index: 12000;
}