1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    3
    Vote Rating
    0
    sbalbalosa is on a distinguished road

      0  

    Default Unanswered: How to add a panel to serve as a footer in a list in Sencha Touch 2.1

    Unanswered: How to add a panel to serve as a footer in a list in Sencha Touch 2.1


    Hi,

    How can I add another panel below the list to serve as some kind of footer, I want the panel to be part of the list so if you scroll the list the panel also moves. What I did before in 2.0 is to add the panel using "add" method of the list this works fine but in 2.1 it seems that when I add another panel to the list it occupies the whole space overlapping the list. What do you think is the best way to achieve this?

    Thanks

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Location
    Italy
    Posts
    84
    Answers
    1
    Vote Rating
    4
    Tegola is on a distinguished road

      0  

    Default


    Sencha changed things in worse in 2.1. Do this:

    Code:
    Ext.create('widget.list', {
    	data: [
    		{ title: 'Item 1' },
    		{ title: 'Item 2' },
    		{ title: 'Item 3' }
    	],
    	itemTpl: '{title}',
    	items: {
    		xtype: 'container',
    		docked: 'bottom',
    		scrollDock: 'bottom',
    		html: 'Footer content'
    	}
    });

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