Community
Participate
Working Groups
3.2 M6 I looked at the new custom drawing support. When drawing the text myself I need to add +2 to the x and y location to make the text appear at the exact same location as when no custom rendering is used. The '2' seems to be the inner border. The snippets, e.g. snippet 228: gc.drawText(text, event.x+2, event.y+offset, true); also seem to hard-code this inner border value. In order to do this right we need API to get the inner border (i.e. the '2'), or is this something which is already there and I missed it?
Obviously, "2" isn't right. We need to fix this for 3.2.
*** This bug has been marked as a duplicate of bug 178008 ***