FBFormItem item = getItem();
widgetHeight = item.getOffsetHeight() + 20;
widgetWidth = item.getOffsetWidth() + 20;
Widget actualWidget = getItem().getWidget();
ResizablePanel resizable = new ResizablePanel(actualWidget, widgetWidth, widgetHeight);
resizable.addResizeHandler(new ResizeEventHandler() {
@Override
public void onResize(ResizeEvent event) {
undoableEvent(event, getItem());
getItem().clear();
getItem().setWidget(event.getWidget());