1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    5
    Answers
    1
    Vote Rating
    0
    tjunction is on a distinguished road

      0  

    Question Unanswered: TabPanel tabBar does not position at bottom of screen on Android phones

    Unanswered: TabPanel tabBar does not position at bottom of screen on Android phones


    There is a thread for this issue in the Sencha Touch 1.x forums here but I am experiencing the same problem in Sencha Touch 2

    Basically the main view of my application is a tabpanel, using the following config options it positions at the bottom of the screen for iPhone etc, but leaves a white line about 0.75cm below the tab panel on Android phones when in portrait view, and the space is a bit wider when in landscape view

    Code:
    Ext.define('MyApp.view.MainTabs', {
        extend: 'Ext.TabPanel',
        xtype: 'mainTabPanel',
        config: {
            tabBar: {
                docked: 'bottom',
                layout: {
                    pack: 'center'
                }
            },
            items: [ 
                 // items go here
            ]
        }
    });
    I've tried using tabBarPosition: 'bottom' within the tabPanel config, but this seems to have the same problem... any one know of a fix for this (or what I am doing wrong )

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,069
    Answers
    3499
    Vote Rating
    852
    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  

    Default


    Are you wanting to submit a bug report?
    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.

Thread Participants: 1