I have an Ext.window.Window component with a form in it that has a vbox layout. Inside that vbox, one of the items is an Ext.Img component. After a certain operation, I need to change the image, which I do by calling the setSrc() method. The image updates fine, but if it's bigger or smaller, the layout doesn't update. I tried calling doLayout() and updateLayout() on the window component, the form, the vbox container, none of it works. Any idea how I can get the layout to update properly?