X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2FBox.java.pp;h=32127af24c5aca1480bef98a0a6e6240cde5d9b1;hb=4f2865ea8ff67ac6688c66e13102bdc2d9d922cd;hp=04a0ee28baad1a8815a579aeb40ac8679955a805;hpb=0b5778eb4f2c369a058cf974be220a3ab36634bb;p=org.ibex.core.git diff --git a/src/org/xwt/Box.java.pp b/src/org/xwt/Box.java.pp index 04a0ee2..32127af 100644 --- a/src/org/xwt/Box.java.pp +++ b/src/org/xwt/Box.java.pp @@ -515,9 +515,9 @@ public final class Box extends JS.Scope { if (g.p != null) buf.drawPictureAlphaOnly(g.p, x, - y + g.max_ascent - g.baseline - g.max_descent, + y + g.max_ascent - g.baseline + g.max_descent, x + g.p.getWidth(), - y + g.max_ascent - g.baseline + g.p.getHeight() - g.max_descent, + y + g.max_ascent - g.baseline + g.max_descent + g.p.getHeight(), 0, 0, g.p.getWidth(), g.p.getHeight(), textcolor);