Hello,
I'm using SelectItems for my forms, and have problems with the picklist in the selectitem. The picklist is very short with a scrollbar at the right hand side.
I've tried to call setPickListHeight to increase the height of the picklist, but it does not help.
I've also copied the code from the showcase, "Forms -Various Controls - Combobox with styled entries" into my system and tested that code. I still get the problem with the scrollbar:
The code above in an exact copy of the showcase. Its working in the showcase, the 3 elements are displayed without a scrollbar. But in my system I get a scrollbar as the attached image show(snapshot.jpg)
Any idea what I'm doing wrong?
Thanks a million
Rolf
I'm using SelectItems for my forms, and have problems with the picklist in the selectitem. The picklist is very short with a scrollbar at the right hand side.
I've tried to call setPickListHeight to increase the height of the picklist, but it does not help.
I've also copied the code from the showcase, "Forms -Various Controls - Combobox with styled entries" into my system and tested that code. I still get the problem with the scrollbar:
Code:
DynamicForm form = new DynamicForm(); SelectItem selectItem2 = new SelectItem(); selectItem2.setTitle("Select"); selectItem2.setHint("<nobr>A combobox with styled entries</nobr>"); selectItem2.setValueMap("<span style='color:#FF0000;'>Red</span>", "<span style='color:#00FF00;'>Green</span>", "<span style='color:#0000FF;'>Blue</span>"); form.setFields(selectItem2); form.draw();
Any idea what I'm doing wrong?
Thanks a million
Rolf
Comment