View Full Version : [CLOSED] Window within Window, make sure parent resizes to fit

Oct 03, 2013, 9:21 PM
I have a window. I'm loading a panel inside dynamically to another page using Loader.
In that page, I'm opening another window.

How can I make sure that second window resizes the parent to fit?

Oct 03, 2013, 11:02 PM

I'm not sure what you mean but probably you should listen the resize event of the Window: http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.window.Window-event-resize

Also, you can use the show event: http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.window.Window-event-show

Oct 04, 2013, 5:38 AM
Hi everybody,

@rthiney, do you use Mode="Frame" for the Loader? If yes, you create a Window within an iframe. That Window cannot exceed the iframe's size.

The only way is to create a Window on the parent page. Here are some suggestions regarding it.