If you want docking to work for Panels in Sencha Touch, don't forget the Stylesheet

As I mentioned before, I've been playing with Sencha touch, with the eventual goal of creating server controls to emit JavaScript. Right now I'm focused on layouts and spent some fustrating time trying to figure out why things weren't docking properly.

I created a nested panel, and set the dock property to 'bottom', but no matter what I did, it showed up on the top.

Eventually I figured it out. I needed to have the correct path to the sench touch style sheet. As soon as that was setup, the docking appeared correctly.

 

How to set your main view in Sencha Touch (Ext.Setup vs. Ext.Application)

An update, long overdue