Add size on month, year and day selects on new task window

Hi,

I need to add size property on select list like this:

https://drive.google.com/file/d/0Bzpav0m8ScjtRGxpRzduSENiNmM/edit?usp=sharing

I add this code:

$('#day_select').attr("size", 5);
$('#month_select').attr("size", 5);
$('#year_select').attr("size", 5);

but isn’t working.
Thanks

Hello,
you can access controls of the lightbox with following method
docs.dhtmlx.com/gantt/api__gantt … ction.html
The code might look following, but i think it would break the layout of the details form

gantt.attachEvent("onBeforeLightbox", function(){ var selects = gantt.getLightboxSection("time").control;//node array of selectboxes selects[0].setAttribute('size', 5); return true; });