Results 1 to 2 of 2

Thread: UI Error in my sencha app.

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default 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 Attached Images

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •