PDA

View Full Version : Suggestion for new Layout class



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...

steffenk
12 Oct 2007, 1:14 AM
+1

amon
12 Oct 2007, 4:32 AM
+1 too :)

potdarko
12 Oct 2007, 9:25 AM
Guess what? +1 :D