1. #1
    Ext User
    Join Date
    Jul 2008
    Location
    Swindon, UK
    Posts
    73
    Vote Rating
    4
    Kango_V is on a distinguished road

      0  

    Default Animated accordian layout?

    Animated accordian layout?


    how can i animate the content panels in an accordian layout? I'd like them to slide up and down.

    cheers

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    not sure if this would work, but the source of AccordianLayout turns anim off... if you extend and turn it back on, it might work....

    Code:
      @Override
      protected void renderComponent(Component component, int index, El target) {
        ContentPanel cp = (ContentPanel) component;
        cp.setCollapsible(true);
        cp.setAnimCollapse(false);

  3. #3
    Ext User
    Join Date
    Jul 2008
    Location
    Swindon, UK
    Posts
    73
    Vote Rating
    4
    Kango_V is on a distinguished road

      0  

    Default


    Right, good idea, i#ll give it a go. Thanks

  4. #4
    Ext User
    Join Date
    Jul 2008
    Location
    Swindon, UK
    Posts
    73
    Vote Rating
    4
    Kango_V is on a distinguished road

      0  

    Default


    I coulnd't override
    renderComponent(Component component, int index, El target) as i get an exception about the component being already rendered.

    I also tried extending ContentPanel to force animation, but then the panels do not expand.

    Any ideas?

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