Oct 08, 2014, 4:00 PM
[CLOSED] [#578] Custom Theming - JavaScript Overrides
I am continuing my progress on creating a custom theme based on Neptune with a different base color.
I have generated my theme using Sencha Cmd and copied the CSS file and images created into a folder in my Ext.Net application, and pointed the ThemePath to this path. This all works fine.
The problem I'm having now is I don't know how I can include the theme's javascript overrides in my Ext.Net application. I haven't made any specific overrides for my theme, but the Neptune theme itself has several javascript overrides that it uses. For example, one that stood out is the override in Tool.js (in ext-theme-neptune\overrides\panel\) which sets the tool image size to 16x16 (instead of 15x15). My custom theme, which is inherited from Neptune, doesn't get this override in Ext.Net, and my tool icons are cut off by 1 pixel.
What would be the simplest way to apply the Neptune javascript overrides to my custom theme in Ext.Net?
Thanks.
I have generated my theme using Sencha Cmd and copied the CSS file and images created into a folder in my Ext.Net application, and pointed the ThemePath to this path. This all works fine.
The problem I'm having now is I don't know how I can include the theme's javascript overrides in my Ext.Net application. I haven't made any specific overrides for my theme, but the Neptune theme itself has several javascript overrides that it uses. For example, one that stood out is the override in Tool.js (in ext-theme-neptune\overrides\panel\) which sets the tool image size to 16x16 (instead of 15x15). My custom theme, which is inherited from Neptune, doesn't get this override in Ext.Net, and my tool icons are cut off by 1 pixel.
What would be the simplest way to apply the Neptune javascript overrides to my custom theme in Ext.Net?
Thanks.
Last edited by Daniil; Oct 22, 2014 at 8:18 AM.
Reason: [CLOSED] [#578]