在Sencha Touch 2中获得与Carousel的边界

时间:2013-02-25 13:49:50

标签: sencha-touch-2

我在Sencha Touch 2中遇到旋转木马的问题。我在iPhone上的应用程序边框。我应该怎么做才能从应用程序中删除此边框?

这是我的代码:

var mainPanel = ({
    xtype: 'carousel',
    id: 'playersView',
    ui: 'light',
    flex: 1,
    layout: {
        type: 'fit'
    },
    items: [
        playerLiveMonitorView,
        blackPlayerLiveMonitorVie
    ]
});

var topPanel = ({
    xtype: 'panel',
    width: '100%',
    height: '10%',
    layout: {
        type: 'vbox',
    },
    items: [
        {
            xtype: 'panel',
            width: '100%',
            layout: {
                type: 'hbox',

            },
            items: [
                serverBtnPanel,
                logoImagePanel
            ]
        },
        roundImagePanel
    ]
});

this.add([topPanel, mainPanel]);

0 个答案:

没有答案