public void onMouseMove(MouseMoveEvent event) {
DOM.setStyleAttribute(draggingWidget.getElement(), "width", VkStateHelper.getInstance().getSnapHelper().getSnappedWidth(left, event.getClientX() + Window.getScrollLeft() - left) + "px");
DOM.setStyleAttribute(draggingWidget.getElement(), "height", VkStateHelper.getInstance().getSnapHelper().getSnappedHeight(top, event.getClientY() + Window.getScrollTop() - top) + "px");
}
});
draggingWidget.addMouseUpHandler(new MouseUpHandler() {
@Override
public void onMouseUp(MouseUpEvent event) {
if(invokingWidget instanceof VkFrame)
invokingWidget.setVisible(true);
//DOM.releaseCapture(draggingWidget.getElement());