1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    74
    Vote Rating
    2
    url is on a distinguished road

      0  

    Default Unanswered: How can i add floating component while creating viewport in ext4.1

    Unanswered: How can i add floating component while creating viewport in ext4.1


    How can i add a floating window to the viewport while its getting created. When i'm trying to add with

    viewport.on('add',function(){//my functionality here});it's not working..How can i add???
    Any help??


  2. #2
    Touch Premium Member suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    446
    Answers
    21
    Vote Rating
    62
    suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough

      0  

    Default


    2 options
    1/. Define in the viewport items config the window
    See here for adding items to viewport - http://docs.sencha.com/ext-js/4-1/#!/api/Ext.container.Viewport

    2/.add the window to the created viewport afterwards.

    Code:
     var window = Ext.create('Ext.window.Window', {
        title: 'My Window',
        height: 200,
        width: 400
    });
    window.show();
    viewport.add(window);

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    74
    Vote Rating
    2
    url is on a distinguished road

      0  

    Default Thanx for ur quick responce

    Thanx for ur quick responce


    @Suzuki
    Thanks for your response

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..."