sencha touch - hide titlebar of an Ext.navigation.View

Go To StackoverFlow.com

4

Is it possible to hide the titlebar of an Ext.navigation.View? I don't see any options in the documentation.

Thanks!

2012-04-05 23:38
by Venkat D.


11

Yes, you can do something like this:

Ext.define('Nav', {
  extend: 'Ext.navigation.View',

  config: {
    fullscreen: true,

    navigationBar: {
        hidden: true
    }
  }
});
2012-04-06 01:19
by jmr
Worked, thanks! Was there some documentation on how to do this? Wasn't aware you could nest configuration like that.. - Venkat D. 2012-04-06 12:52
helped me thanx... - himanshu 2012-04-19 05:57


3

As an variation to jurodr's answer:

Ext.define("Nav", {   
  'Ext.navigation.View',
   config: {   
     fullscreen: true,
     navigationBar:false   
     }   
});         
2013-08-01 07:19
by Noin
Noin, I have edited your answer: don't put al these   in there, just indent 4 space - Jan Doggen 2013-08-01 07:40
Ads