1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
    nazeer2mail is on a distinguished road

      0  

    Default Unanswered: UI Error in my sencha app.

    Unanswered: UI Error in my sencha app.


    i had attached one image. In that, i have 3 panels. in my second panel have two toggle button, if i run the login panel, the toggle button displayed. dont know what problem in that. pls help me to solve this task. here it's my maincode,

    Sample.cfg = {};


    Sample.App = Ext.extend(Ext.Panel, {
    id:'mainpanel',
    fullscreen: true,
    layout: 'card',
    //layoutOnTabChange: true,
    //tabBar: {
    // ui: 'dark',
    // dock: 'bottom',
    // layout: { pack: 'center' }
    // },
    //cardSwitchAnimation: false,
    initComponent: function() {
    this.items = [ {
    title: 'Login',
    id:'login',
    iconCls: 'home',
    xtype: 'login'
    },{
    title: 'Register',
    xtype: 'register',
    iconCls: 'home'
    },{
    title: 'MainView',
    xtype: 'mainview',
    iconCls: 'home'
    }];
    //Ext.getCmp('mainpanel').setActiveItem(1);
    //Ext.getCmp('mainpanel').setActiveItem(0);
    Sample.cfg = {};
    Sample.App.superclass.initComponent.call(this);
    }
    });


    soooooo . pls help asap.
    Attached Images

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,641
    Vote Rating
    434
    Answers
    3107
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Cannot tell, you haven't posted all your relevant code. Also, please wrap in code tags to preserve spacing and readability.

    Also post in the correct forum. I have moved this one.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

Tags for this Thread