View Full Version : Ext.Window + resizable.dynamic = true

16 Feb 2010, 9:57 AM
Is there a way to make the default window dialog have dynamic resizing (like these examples http://healthit.ahrq.gov/imageserver/RemoteGadgets/KDBrowser/extjs/examples/resizable/basic.html)?

16 Feb 2010, 10:24 AM
hi chrismarx,

take a look in the api-docs.
here are the needed configs.

kind regards,

resizable : Boolean
True to allow user resizing at each edge and corner of the window, false to disable resizing (defaults to true).

resizeEvent : String
The event to listen to for resizing in layouts. Defaults to 'bodyresize'.

resizeHandles : String
A valid Ext.Resizable handles config string (defaults to 'all'). Only applies when resizable = true.

17 Feb 2010, 7:18 AM
yes i saw those, but when i referred to resizing being dynamic, i'm taking about the body of the window changing size as the user drags the handles of the window, instead of showing the dashed lines of the new size, and then allowing the window to take on the new size after they're done dragging.

in the link, there is an example in which that is done, but I don't see how to do that for an -existing window object-