resize of inplace gadget