Page 1 of 1

SELECT BOX WITH CHOICES.

Posted: Tue Feb 14, 2012 11:32 am
by jac53
This is the second time I have this problem. The last time I downloaded 3.3.0 all my select boxes with choices properties and width in BLANK (automatic width) were converted to 1 character width, so I had to resize all of them again. The ones with a fixed width were no changed.
Yesterday I downloaded 3.3.1 and I had the same problem.
Do you have any suggestion to avoid that?

Re: SELECT BOX WITH CHOICES.

Posted: Tue Feb 21, 2012 3:44 pm
by jac53
Any news?

Re: SELECT BOX WITH CHOICES.

Posted: Tue Mar 06, 2012 1:01 pm
by David
Yes, originally Genie assigned the HTML “size” attribute to 5250 entry fields. Of course this is not entirely accurate for sizing between different fonts, browsers and devices, so it was changed to use the CSS “width” property instead. So, all 5250 entry fields get fixed “width” now.

This carries over when they are transformed to drop downs.

There are 2 solutions:

1. We have a backward compatibility flag that you can turn on:

pui.genie["use size attribute"] = true;

This will set it back to using the “size” attribute, and you won’t have to make any other changes. You can insert that line of code into your "customize()" function in your skin's "custom.js" file.

2. The screen designer customizations that include drop down boxes can set the width property to "auto" to produce automatic sizing.