Ext.define('Ext.theme.neptune.panel.Panel', { override: 'Ext.panel.Panel', border: false, bodyBorder: false, initBorderProps: Ext.emptyFn, initBodyBorder: function() { // The superclass method converts a truthy bodyBorder into a number and sets // an inline border-width style on the body element. This prevents that from // happening if borderBody === true so that the body will get its border-width // the stylesheet. if (this.bodyBorder !== true) { this.callParent(); } } });