Set ListSelect default height

Hi,
is there a way to set the default height of a ListSelect because even if it’s empty, a big blank is displayed.

Thanks.

13586.png

Did you try looking at setRows? You have to do some thing like this to control the height.

ListSelect select = new ListSelect();
select.setRows(1);

Hope this helps you.

Thanks,
Krishna

It works. I actually tried 0 but not 1.

Thank you.