PDA

View Full Version : customising the header of a panel



AakashGC
30 Jul 2014, 6:36 AM
Hi,

how can we reduce the height or width of the header of a panel , and how to use the xtype:header in a panel, any use cases will be very helpful .

Thanks

Gary Schlosberg
1 Aug 2014, 8:00 AM
You can set a height (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.header.Container-cfg-height) and width (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.header.Container-cfg-width) on the column definition. Don't think it will reduce height smaller than the text it contains.