1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    27
    Vote Rating
    0
    solovieff13 is on a distinguished road

      0  

    Question Panel collapse icon

    Panel collapse icon


    Hi,

    I have two panels with anchor layout like this
    Code:
    {
                                                layout : 'anchor',
                                                id : 'doublePanel',
                                                region : 'west',
                                                defaults :
                                                {
                                                    anchor : '100%'
                                                },
                                                border : false,
                                                split : false,
                                                margins : '2 0 5 5',
                                                width : 335,
                                                items : [panel1, panel2],
    in panel2 i have:
    Code:
    {
    height: 150,
    collapsible: true
    }
    I want panel2 to collapse to the bottom, not to the top (so, I want panel1 to have all the space). As far as I know I can not to that directly, so, I do the following in panel2 listeners:

    Code:
    collapse: function()
                        {
                            panel1.setHeight(300);
                        },
                        expand: function()
                        {
                            Ext.getCmp('dealSummary').setHeight(450);
                        }
    to hide panel2 and make panel1 fill all the space.

    So, there are two questions:
    1) can i do that directly without setting the height to panel1?
    2) if no, how can I change the "collapse" icon, so that 'collapse' icon will be 'expand' one and vice versa.

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
    emmahudson88 is on a distinguished road

      0  

    Default


    Thank you so much for your post.

  3. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    27
    Vote Rating
    0
    solovieff13 is on a distinguished road

      0  

    Default


    It is called collapseDirection.

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