PDA

View Full Version : Differences in CSS and missing toolbar in production versus dev



fatica
3 Oct 2013, 12:39 PM
I have a pretty simple app build in Sencha Touch 2.3

The dev application works great, but when we use "sencha app build production" the output looks different, and the application becomes unusable because the main toolbar is missing. There are no errors in the javascript console.
Screenshot
http://screencast.com/t/GG2OImLWq

Now, frankly I could care less about the changes in font size, but the home screen of the app also no longer scrolls and the toolbar is missing, making it unusable.

Any ideas?

Kurt001
3 Oct 2013, 10:22 PM
can you post the code of the view?

fatica
4 Oct 2013, 6:09 AM
Turns out this was because I was using dockedItems instead of Items. Not sure why that impacted the CSS, but that was the solution.