On the iPhone, the Kitchen Sink demo fails when the device is rotated to landscape mode. It doesn't keep the fullscreen mode and positions buttons and tabs incorrectly. This happens with any version of iOS that I've tried (3.0 or 4.0). However, when using the iPad, the demo (and all other demos) work perfectly.
Any word on when this might be resolved? I'm currently working on a mobile web app and am thrilled to see Sencha. It's going to make our app much easier to build and provides great features already. Keep up the great work!
The kitchen sink was originally only going to be an example for use on the iPad.. There is still some work that is being done to clean up issues with fitting all the components being showcases in landscape on both Android and iPhone.
Oh. I see. Is that planned as part of the 1.0 release then? Or is Sencha really targeting the iPad for 1.0? The big draw for developers (from my perspective) is that you've developed Sencha to be resolution independent, which is the biggest hurdle in developing for these devices.
Also, in case it wasn't clear, the rotation issue occurs with all of the demos, it's not just the kitchen sink demo.
Although applications can be resolution independent, there is often better ways to present the same information when more space is available. We are looking on including a presenter class to help with this in the near future.
I think this only happens when you have the debug bar enabled. This will make it so that in portrait it thinks it is in landscape because the height is still lower then the width. I will see if we can find a way to fix this.
Ok, it turned out that setActiveItem (and thus setCard) didnt make sure that the card you were switching to was a child item of the container. It rendered it properly, switched to it correctly, but never added it to the items collection of the container. So when the layout was looping over child items to lay them out after an orientationChange, it would just skip the card.
This has been fixed and will be part of the next release (0.9.3) due beginning of next week.