Hybrid View

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

      0  

    Default Layout card with several items

    Layout card with several items


    i'm facing with this problem:

    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,
                                        ............................
                                    }
                                ]
                            }
    and my problem is the dayViewContainer can't show 2 textfield it just show the list?, thank you for your help.

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi,

    you can remove layout:'fit' ,
    layout:''fit' used only for one item
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    3
    Vote Rating
    0
    NguyenT is on a distinguished road

      0  

    Default


    okie, i just removed, but it don't work

  4. #4
    Sencha User
    Join Date
    Mar 2011
    Posts
    83
    Vote Rating
    11
    Schildi will become famous soon enough

      0  

    Default


    You have to define a different layout instead
    Try
    Code:
    layout: 'vbox'
    or look at http://docs.sencha.com/touch/2-0/#!/guide/layouts

    Best regards,
    Schildi

  5. #5
    Sencha User
    Join Date
    Nov 2012
    Posts
    3
    Vote Rating
    0
    NguyenT is on a distinguished road

      0  

    Default


    Thank you,

    But it's not work, i've tried a lot layout for this problem...

Thread Participants: 2

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