Skip to main content

combobox

3 replies [Last post]
tapani
Offline
Joined: 2008-11-11

Hi,
there are two comboboxes for jmaki - dojo.combobox and dojo.dijit.combobox.
dojo.combobox has limit of 30 options but it has smaller font and it takes less space on a browser.
dojo.dijit.combobox - has accepted 280 options but is has bigger font and it takes more space in a browser.

My question is: How can i romove that limit of 30 options from dojo.combobox?

tapani

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31

HI,

I would suggest working with the fonts on the dojo.dijit.combobox. The dojo.combobox is based on Dojo 0.4.3 which is no longer supported. Short of going into the Dojo code it would be hard to fix the dojo.combobox.

For working with the fonts on the dojo.dijit.combobox you can use Firebug to find out what CSS classes are being used and override them in the component.htm or component.css for the given component.

gmurray71
Offline
Joined: 2003-07-31

Hi,

I did a little playing arround and you can change the font size easy:

In the /dojo/dijit/combobox/component.htm add a font-size to the style like:

<span class="tundra" style="width: 300px;font-size:10px">
<select id="${uuid}">
</select>
</span>

tapani
Offline
Joined: 2008-11-11

This works, thanks.
Tapani