Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Spinner graphics misaligned

$
0
0
SmartClient Version: v9.0p_2013-12-11/LGPL Development Only (built 2013-12-11)

Browser IE11

I have a case where we are doing some customization of the form item styles. When we do this with the spinner item, in some cases (not all) the spinner graphics in the spinner item are misaligned (they are one pixel lower than they should be). You can see this in the attached picture of a sample. You can see in the screen shot that the upper control has misaligned graphics and the lower one does not. The issue appears to be related to the vertical position of the control (I'm guessing it has something to do with whether the Y-coord of the control is an odd or even number).

I've included our sample class code and our CSS file. Let me know if I've left out anything else relevant that you need.

Attached Images
File Type: png spinner.png (39.9 KB)
Attached Files
File Type: java SpinnerItemIssue.java (763 Bytes)
File Type: css issues.css (5.7 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles