2 Replies Latest reply on Jun 18, 2009 7:52 AM by Clifford Meece

    dynamically resizing itemrenderer

    Clifford Meece

      Hi,

       

      Can anyone give me a few hints or point me to some sample code that will dynamically (and ideally, smoothly) resize a custom itemrenderer in a tileList component?

       

      I currently have a tileList with a custom itemRenderer that extends vbox.  It is a very simple component consisting of a Image and a label below it.  Elsewhere in my app I have a Hslider that I would like to use to set the 'zoom' on my tileList (so resizing my custom itemRenderer).

       

      As a first step I would like the images to resize smoothly, but another wrinkle is as the images become bigger (or smaller), I will need the tileList to dynamically change the number of columns displayed.

       

      Any hints or pointers would be appreciated.

       

      Thanks,

      Cliff