if(scrollingParentFinal != null && scrollingParentFinal.getElement().getScrollTop() + scrollingParentFinal.getElement().getClientHeight() < scrollingParentFinal.getElement().getScrollHeight())
scrollingParentFinal.getElement().setScrollTop(Math.max(0, top - 10));
event.preventDefault();
}
});
draggingWidget.addMouseUpHandler(new MouseUpHandler() {
@Override
public void onMouseUp(MouseUpEvent event) {
final int initialTop = VkDesignerUtil.getOffsetTop(invokingWidget.getElement());
final int initialLeft = VkDesignerUtil.getOffsetLeft(invokingWidget.getElement());
final int finalTop = draggingWidget.getAbsoluteTop() - invokingWidget.getElement().getOffsetParent().getAbsoluteTop()