My goal is to change the font size of the title for one panel.
I tried to read http://docs.sencha.com/extjs/4.2.1/#!/guide/theming , but all I found were thematic applications, thematic all-panels- project parameters and configuration overrides in "override JS themes, but CSS variables are not overridden for a single component.
Is there any way to achieve this without the fuss with this SASS for the whole project?
Just add a class to the panel, then create a rule to match:
new Ext.panel.Panel({ cls: 'foo', renderTo: document.body, title: 'X' }); .foo .x-header-text { font-size: 24px; }
Source: https://habr.com/ru/post/1488655/More articles:Compiling libpandoc and undefined links to utf8_table4 in regex-pcre-builtin - cCSS fading through does not work properly - javascriptUINavigationItem titleView positioning problem - iosCss default change in extjs 4.2.1 CSS variables - cssjQuery GET to API on the same domain gives CORS error - jqueryThe source of the file inside the function accepts the parameters of the function - bashAnalytics events canceled - javascriptDifferences between connecting a function to a prototype or not - javascripthow to check time range in javascript - javascriptBinary equal files are displayed as modified, unable to return - mercurialAll Articles