Threaded View

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Location
    Argentina
    Posts
    36
    Vote Rating
    0
    gustavo21 is on a distinguished road

      0  

    Default Little Help with first air app. Cannot put a gridpanel

    Little Help with first air app. Cannot put a gridpanel


    Hi everyone. Im new in ext.air and im trying to migrate my app (extjs 3.3 running in browser) to a desktop app with adobe air.

    I setup aptana and i have working a simple window with a grid. Works great, but when i add a grid, i have many errors in the console and the window is showed but i cannot move or resize...

    Here's my working code for Window and panel:

    Code:
    Ext.onReady(function() {
            new Ext.air.Window({
            win: window.nativeWindow,
            width: 1024,
            height: 768,
            layout: 'fit',
            title: 'Ventana de Prueba',
            items:[
                {
                    xtype: 'panel',
                    title: 'My Panel',
                    layout: 'fit',
                    }
                  ]            
        });
    });
    And here's the code i insert to add a grid:

    Code:
    Ext.onReady(function() {
            new Ext.air.Window({
            win: window.nativeWindow,
            width: 1024,
            height: 768,
            layout: 'fit',
            title: 'Ventana de Prueba',
            items:[
                {
                    xtype: 'panel',
                    title: 'My Panel',
                    width: 100,
                    height: 350,
                    layout: 'fit',
                    items: [
                        {
                            xtype: 'grid',
                            title: 'My Grid',
                            
                        }
                    ]
                }
            ]
                          
        });
    });
    Thanks, and i hope you can help me... and understand my english... jeje
    Attached Images

Thread Participants: 1

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