Animal
12 Oct 2007, 12:11 AM
A useful new Layout class would be 'carousel'
It would manage its items (each of which would be floated left) inside its body element, and add a scroll left and a scroll right element at each side which would be a ClickRepeater.
The code to manage elements like this exists in TabPanel.
If that code were extracted into a Layout, I think it would be useful for many purposes. It shouldn't bloat the Ext code too much because the TabPanel would just use the carousel layout in its header/footer.
Just a suggestion for the medium term. I'd take a look at this myself if I had time, but I'm trying to upgrade our new app to Ext 2.0 right now as a "spare time" project...
It would manage its items (each of which would be floated left) inside its body element, and add a scroll left and a scroll right element at each side which would be a ClickRepeater.
The code to manage elements like this exists in TabPanel.
If that code were extracted into a Layout, I think it would be useful for many purposes. It shouldn't bloat the Ext code too much because the TabPanel would just use the carousel layout in its header/footer.
Just a suggestion for the medium term. I'd take a look at this myself if I had time, but I'm trying to upgrade our new app to Ext 2.0 right now as a "spare time" project...