ComponentDropLocation (RadContainer container, final Point location) { FlowLayout flowLayout = (FlowLayout) container.getLayout(); return new FlowDropLocation(container, location, flowLayout.getAlignment(), (flowLayout.getHgap()+1)/2, (flowLayout.getVgap()+1)/2); }