[patch/resize] height adjusts automatically on resize