Questions and discussion around ProcessMaker 2 documentation
By websolprov
#18036
The wiki says:
The Size property in listboxes determines their height in lines, which is set to 4 by default. Their width is automatically set to the widest option in the list.

This isnt true, its locked to 100px
By krlos10f
#18045
The wiki says:
The Size property in listboxes determines their height in lines, which is set to 4 by default. Their width is automatically set to the widest option in the list.

This isnt true, its locked to 100px
Hello websolprov,

You're right this property does not work well, however we are going to report about this issue to the developers team.
You can see the progress of this problem through this link:

http://bugs.processmaker.com/view.php?id=8232

Thank you for your feedback
Last edited by krlos10f on Wed Jan 04, 2012 9:57 am, edited 1 time in total.
By krlos10f
#18257
Hello websolprov,

Yes, you can use the JavaScript functions and you can change its style:
If the listbox has the name "mylistbox" then you can do the following...
Code: Select all
var dynaformOnload = function() {
getField("mylistbox").style.width="185px";
}
Attachments
listboxkrlos.png
listboxkrlos.png (13.53 KiB) Viewed 14263 times

Before planning, the factors that must be consider[…]

If you want to seamlessly and hassle-free conversi[…]

Well many students have no idea how to write a goo[…]

Modalert 200 MG is a brand name for the generic dr[…]