Anand Sunderraman
Anand Sunderraman

Reputation: 8148

EXT Js Panel Resize

I want my ext js panel to be resizable, i.e when I put my mouse over the panel it must show

me the resize controls. How do I do the same ?

Upvotes: 3

Views: 11038

Answers (3)

fraber
fraber

Reputation: 1252

    resizable: true, 

Panels accept a "resizable" attribute that will automatically display Ext.resizer.Resizer handles around the panel.

Upvotes: 0

Swar
Swar

Reputation: 5503

Use Ext.Resizable. Check this link: http://docs.sencha.com/ext-js/4-1/#!/example/resizer/basic.html

Edit: Link updated.

Upvotes: 2

Jason
Jason

Reputation: 1183

Typically you don't resize the panel component, you resize whatever it is contained within.

If you have the panel in a window object, you resize the window and the panel will resize with it automatically; unless you have specified height/width figures specifically which disables the layout manager from handling it.

Upvotes: 0

Related Questions