private void setPositionAndSize(final Element element, final PositionAndSize positionAndSize) {
        element.getStyle().setPosition(Position.ABSOLUTE);
        element.getStyle().setLeft(positionAndSize.getLeft(), Unit.PX);
        element.getStyle().setTop(positionAndSize.getTop(), Unit.PX);
        element.getStyle().setWidth(positionAndSize.getWidth(), Unit.PX);
        element.getStyle().setHeight(positionAndSize.getHeight(), Unit.PX);
    }
Convenience method to transfer position and size data to an element.
stroom-core-client/src/main/java/stroom/dashboard/client/flexlayout/FlexLayout.java