protected void doLayout() {
if (widget != null) {
if (GXTLogConfiguration.loggingIsEnabled()) {
logger.finest("doLayout");
}
XElement con = getContainerTarget();
XElement e = widget.getElement().cast();
e.makePositionable(true);
Point p = e.getAlignToXY(con, new AnchorAlignment(Anchor.CENTER, Anchor.CENTER), 0, 0);
p = e.translatePoints(p);
applyLayout(widget, new Rectangle(p.getX(), p.getY(), -1, -1));
}
}