Within Sencha Touch, is it possible to define a default UI , like “light” or “dark”, that applies to all components (unless overwritten explicitly)?
The aim is to avoid having to declare ui: "dark", or any custom UI that is made, for every element.
Cheers!
You can try this:
The disadvantage of this code is that we need to specify another variable for applying ui different from ‘light’ (because variable ‘ui’ via getUi() will always return ‘light’):