1. #1
    Sencha User joeshonm's Avatar
    Join Date
    Nov 2011
    Location
    Orlando, FL
    Posts
    7
    Answers
    1
    Vote Rating
    0
    joeshonm is on a distinguished road

      0  

    Default Answered: Adding a Form Panel as and item in a Panel

    Answered: Adding a Form Panel as and item in a Panel


    The form is not appearing as an item in the panel. I'm not sure what's wrong.

    This is using Sencha Touch 2.

    Code:
    // Welcome View
    Ext.define('SocialTrip.view.Welcome',{
        extend: 'Ext.form.Panel',
        config:{
            items:[
                {
                    xtype: 'navigationbar',
                    title: 'Hello'
                },
                {
                    xtype: 'formpanel',
                    items:[
                        {
                            xtype: 'textfield',
                            label: 'Username'
                        },
                        {
                            xtype: 'textfield',
                            label: 'Password'
                        }
                    ]
                }
    
    
            ]
        }
    });

  2. I think I found my own solution. If I use a form panel and set fullscreen to true it will display the form and the docked navigation bar.

  3. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Sorry, what is the question?

    Sencha Inc

    Jamie Avins

    @jamieavins

  4. #3
    Sencha User joeshonm's Avatar
    Join Date
    Nov 2011
    Location
    Orlando, FL
    Posts
    7
    Answers
    1
    Vote Rating
    0
    joeshonm is on a distinguished road

      0  

    Default


    Quote Originally Posted by Jamie Avins View Post
    Sorry, what is the question?
    I'm sorry. I'm having a problem adding a form panel as an item in a panel.

  5. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    I see, looks like you'd want to add docked: 'top' to the navigationbar.

    Sencha Inc

    Jamie Avins

    @jamieavins

  6. #5
    Sencha User joeshonm's Avatar
    Join Date
    Nov 2011
    Location
    Orlando, FL
    Posts
    7
    Answers
    1
    Vote Rating
    0
    joeshonm is on a distinguished road

      0  

    Default


    I just changed that and the form still is not shown.

  7. #6
    Sencha User joeshonm's Avatar
    Join Date
    Nov 2011
    Location
    Orlando, FL
    Posts
    7
    Answers
    1
    Vote Rating
    0
    joeshonm is on a distinguished road

      0  

    Default


    I think I found my own solution. If I use a form panel and set fullscreen to true it will display the form and the docked navigation bar.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi