Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

sencha-touch

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

Thanks!

like image 666
Venkat D. Avatar asked Dec 10 '22 01:12

Venkat D.


2 Answers

Yes, you can do something like this:

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

  config: {
    fullscreen: true,

    navigationBar: {
        hidden: true
    }
  }
});
like image 102
jmr Avatar answered Dec 11 '22 13:12

jmr


As an variation to jurodr's answer:

Ext.define("Nav", {   
  'Ext.navigation.View',
   config: {   
     fullscreen: true,
     navigationBar:false   
     }   
});         
like image 37
Noin Avatar answered Dec 11 '22 15:12

Noin