VkDesignerUtil.releaseCapture(draggingWidget);
final int initialHeight = invokingWidget.getOffsetHeight() - (int)VkDesignerUtil.getDecorationsWidth(widget.getElement());
final int initialWidth = invokingWidget.getOffsetWidth() - (int)VkDesignerUtil.getDecorationsHeight(widget.getElement());
final int finalWidth = draggingWidget.getOffsetWidth() - (invokingWidget instanceof VkRichTextArea ? 0 : (int)VkDesignerUtil.getDecorationsWidth(widget.getElement()));
final int finalHeight = draggingWidget.getOffsetHeight() - (int)VkDesignerUtil.getDecorationsHeight(widget.getElement()) - (invokingWidget instanceof VkRichTextArea ? 10 : 0);
draggingWidget.removeFromParent();
VkStateHelper.getInstance().getSnapHelper().setIgnoreWidget(null);
/*if(finalWidth > 0)
widget.setWidth(finalWidth + "px");
if(finalHeight > 0)
widget.setHeight(finalHeight + "px");*/