1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Austin, TX
    Posts
    43
    Vote Rating
    0
    tthai is on a distinguished road

      0  

    Default Unanswered: How to enable "fullscreen" (hiding of address bar by default)

    Unanswered: How to enable "fullscreen" (hiding of address bar by default)


    I was looking at the sencha touch beta exammples like Kivi, Twitter, Geocongress. But none of them hide the address bar (putting the app in fullscreen). How do we enable that?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    898
    Answers
    3575
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Location
    Austin, TX
    Posts
    43
    Vote Rating
    0
    tthai is on a distinguished road

      0  

    Default


    Ah it very much does help! Thank yoU!

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    9
    Vote Rating
    0
    msderosa is on a distinguished road

      0  

    Default


    Quote Originally Posted by tthai View Post
    I was looking at the sencha touch beta exammples like Kivi, Twitter, Geocongress. But none of them hide the address bar (putting the app in fullscreen). How do we enable that?
    If your working with beta3, the functionality to hide the address bar is broken. With yesterdays release of the release candidate; however, you can now add the configuration element

    viewport: {
    autoMaximize: true
    },

    to the configuration of your application instance and that will hide the address bar.
    Though the viewport: element is not listed under the 'Configs' in the documentation for Ext.app.Application, it is valid element. The framework will pick it up when it creates the viewport.

Thread Participants: 2