update editor ui (resizing)