Threaded View
-
28 Dec 2012 9:00 PM #1
Answered: Overriding TitleBar/Toolbar default heights
Answered: Overriding TitleBar/Toolbar default heights
I noticed the following in the release notes for Sencha Touch 2.1.0-b2: "TitleBar/Toolbar now have default height instead of pure CSS." A couple questions:
- Why was the decision made to hard-code the TitleBar.height and Toolbar.minHeight?
- Is there a way to override these default values on a project-wide basis?
Any guidance/insight would be much appreciated!
-
Best Answer Posted by mitchellsimoensCode:
Ext.define('Override.Toolbar', { override : 'Ext.Toolbar', config : { minHeight : '2.2em' } }); Ext.define('Override.TitleBar', { override : 'Ext.TitleBar', config : { height : '2.2em' } });


Reply With Quote