Reputation: 8148
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
Reputation: 1252
resizable: true,
Panels accept a "resizable" attribute that will automatically display Ext.resizer.Resizer handles around the panel.
Upvotes: 0
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
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