Panel.js 571 B

123456789101112131415161718
  1. Ext.define('Ext.theme.neptune.panel.Panel', {
  2. override: 'Ext.panel.Panel',
  3. border: false,
  4. bodyBorder: false,
  5. initBorderProps: Ext.emptyFn,
  6. initBodyBorder: function() {
  7. // The superclass method converts a truthy bodyBorder into a number and sets
  8. // an inline border-width style on the body element. This prevents that from
  9. // happening if borderBody === true so that the body will get its border-width
  10. // the stylesheet.
  11. if (this.bodyBorder !== true) {
  12. this.callParent();
  13. }
  14. }
  15. });