by troy » Wed Mar 25, 2009 7:56 pm
Just wanting to throw my voice into the mix that some aspects of bordering on table elements is now messed up in 3.5.9 and 4.1.1.
On a normal table view form, I use a Special Matte border to give a dotted line beneath the entire row. (As an aside, it would be way cool if stylesheets supported dotted or dashed bordering. They don't, so I'm stuck with setting it on an element by element basis....) On certain types of fields, this no longer displays the same as it did in 3.5.8 or 4.1.
Specifically, comboboxes, checks (with a valuelist), dates, [text/html] area fields, and radios double the border specified if the border is one of the following types: Etched, Bevel, Special Matte. In the pictures below, I did all the examples with Special Matte, but they work more or less the same with the other two as well.
Attached are two pictures to illustrate this:
Screenshot #1:
All fields in this picture have the exact same border property set. It is "SpecialMatteBorder,0.0,0.0,1.0,0.0,#000000,#000000,#999999,#000000,0.0,1.0". The field display types are (in order from left to right): text_field, date, checkbox without valuelist, checkbox with valuelist, textarea, and combobox. Notice how only the text_field and checkbox without valuelist render the border correctly. All the others seem too thick.
Screenshot #2:
Here we see three date fields with different borders. Column 1 has the same border as above. Column 2 has a 1.01 size for the bottom border. I did this so that Servoy would be forced to space out the doubled border a little bit to make it obvious. Column 3 has a 0.5 size for the bottom border. When 0.5 is doubled we end up with 1.0, which is the border I wanted to begin with.
Even though the screenshots are from a Mac running Leopard, the same behavior was replicated on a WinXP box. Note: I tried making sure the margins were 0px using a style class as well as punching it directly onto the element. There was no difference in the end result.
Is there more information I can provide to clarify the issue?
You do not have the required permissions to view the files attached to this post.