SELECT BOX WITH CHOICES.

Use this board to ask questions or have discussions with other Genie users.
Post Reply
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

SELECT BOX WITH CHOICES.

Post 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?
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Re: SELECT BOX WITH CHOICES.

Post by jac53 »

Any news?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: SELECT BOX WITH CHOICES.

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest