View Full Version : Add actions to tabpanel

5 Feb 2013, 8:12 PM
Hi All,
Is it possible to add actions/icons on the right to all the tabs?
I would like to add 3 actions: maximize, minimize, restore. when the user clicks maximize I will maximize the tab's content to full screen (btw, how do I do that??)

6 Feb 2013, 4:59 AM
Hi Dekely,

You can put your tab panel under Window component and use window config maximizable : true , minimizable:true. This config automatically add the icon on the top-right of window.
for more info read API docs- http://docs.sencha.com/ext-js/4-1/#!/api/Ext.window.Window-cfg-maximizable

6 Feb 2013, 5:10 AM
but then the whole tabpanel will be wrapped in a window and a header, right?