In my data field App, I have problems aligning graphics with text in simulator vs on real device.
I have made a code example of this problem using this in onUpdate():
dc.setColor(Graphics.COLOR_GREEN, Graphics.COLOR_WHITE);
dc.clear();
dc.fillRectangle(0, 163, dc.getWidth(), 84);
dc.setColor(Graphics.COLOR_BLACK, -1);
dc.drawText(208, 208, Graphics.FONT_NUMBER_THAI_HOT, "1:00", Graphics.TEXT_JUSTIFY_CENTER|Graphics.TEXT_JUSTIFY_VCENTER);
I tried to attach pictures from my Epix2 device, but no matter how small I make the picture - I get an error message that I am exceeding file quata.... seem a big in the bug reporting system?
So, I'll describe the problem instead: The rectangle is nicely aligned with the text in sim, but vertically off on real device, by one pixel it seem. We have a green line above the text. If 163 is exchanged with 164, then it looks correct on real device, but now off in sim.
please fix