PDA

View Full Version : custom theme sencha cmd



wadhahjebri
3 Jun 2016, 8:36 AM
Hi, I am working with a custom theme named "theme-demo-app". I created a new file Button under /theme-demo-app/sass/src/button/Button.scss below the css script:


54615


Then I created a grid with toolbar and I apply new “ui” property to the button as shown in the following code:

54616
Unfortunately the button does not appear any more after applying “ui” property as mentioned above.
Anybody knows what I'm doing wrong?

Thanks in advance.

joel.watson
3 Jun 2016, 8:56 AM
Since you're adding the button to a toolbar, you'll want to use the button-toolbar mixin:

https://docs.sencha.com/extjs/6.0/6.0.2-classic/#!/api/Ext.button.Button-css_mixin-extjs-button-toolbar-large-ui

Thanks
Joel