Point e = gc.textExtent(text);
Point e = gc.textExtent(text, DRAW_FLAGS);
private Point getTotalSize(Image image, String text) {	Point size = new Point(0, 0);		if (image != null) {		Rectangle r = image.getBounds();		size.x += r.width;		size.y += r.height;	}			GC gc = new GC(this);	if (text != null && text.length() > 0) {		Point e = gc.textExtent(text);		size.x += e.x;		size.y = Math.max(size.y, e.y);		if (image != null) size.x += GAP;	} else {		size.y = Math.max(size.y, gc.getFontMetrics().getHeight());	}	gc.dispose();		return size;}