dhtmlxCombo - List length

Hello,



i am instantiating a combobox via script:









I want to have only pictures, so i set new dhtmlXCombo(“query_entry[1].operatorBox”,“z1”,42,‘image’);

That seems to be the smallest value, without running into javascript errors.



But if the user presses the value help i will get a listbox with too many empty entries at the end. How can i set the length exactly so, that exctaly the 8 entries appear without any scrolling slider?



Best regards,



Stefan

z1.enableOptionA



PS: using z1.enableOptionAutoHeight(true); does not effect anything :frowning:








Hello,


Please, try change the .dhx_combo_list div class in the dhtmlxcombo.css as follows:


.dhx_combo_list div{
cursor:default;
/padding:2px 2px 2px 2px;/
}


This modification must fix the problem.



… no :frowning: