PDA

View Full Version : Bottom tab panel too many icons for iphone screen



Johnbran
1 Jun 2011, 1:20 PM
Hi,
I am developing for the iphone. I have a bottom tab panel with 8 icons. The iphone only can display 5 in portrait mode. I have seen apps where the tab panel will scroll over to accommodate more buttons. Is this feature available on Sencha touch? If so how do I activate it?

Thanks

theyang
1 Jun 2011, 11:53 PM
You can look through the source of Kitchensink. The Icons sample does exactly what you want.

Johnbran
2 Jun 2011, 5:43 PM
Thanks, I got it working.

But, now I would like a more elegant solution. Every time you slide the tabs over, you can't help but to press the last tab. I tried to put a disabled button there labeled "more.." but that didn't work. The disabled property never worked. Is there away to have a button smaller than the rest that is used to slide the tabs over? Also is it possible to slide the tabs via code?

Thanks.