-
14 Nov 2012 7:22 PM #1
Layout card with several items
Layout card with several items
i'm facing with this problem:
and my problem is the dayViewContainer can't show 2 textfield it just show the list?, thank you for your help.Code:{ xtype: 'container', id: 'dateContainer', layout: 'card', flex: 2, items: [ { xtype: 'calendar', id: 'monthView', cls: 'monthView', }, { xtype: 'container', id: 'dayViewContainer', layout: 'fit', items: [ { xtype: 'textfield', label: 'Names', name: 'name' }, { xtype: 'list', flex: 2, ............................ } ] }
-
14 Nov 2012 10:10 PM #2
Hi,
you can remove layout:'fit' ,
layout:''fit' used only for one itemsword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
14 Nov 2012 11:33 PM #3
-
14 Nov 2012 11:52 PM #4
You have to define a different layout instead
Tryor look at http://docs.sencha.com/touch/2-0/#!/guide/layoutsCode:layout: 'vbox'
Best regards,
Schildi
-
15 Nov 2012 2:53 AM #5
Thank you,
But it's not work, i've tried a lot layout for this problem...


Reply With Quote