PDA

View Full Version : Upgrade from 2.1.1 to 2.2 totally messed up my layout



chrislind
30 Apr 2013, 3:07 AM
Hi all,

i have done an upgrade with sencha cmd from 2.1.1 to 2.2. Now my layout is totally messed up. I am using the default Theme.
But after the upgrade none of the buttons have icons and all list elements are wrapped to one line.

What i am doing wrong? I have downloaded Sencha Touch 2.2 and executed
sencha cmd upgrade <path to ST 2.2> in my app-directory.

Chris

Scorpie
1 May 2013, 1:26 PM
You are probably overnesting. The best approach to fix this is to look at your code and draw out your layouts. I found most problems are with Tabpanels because they have the tendency to be extremely flexible when overnesting so it looks like you are doing a good job but in fact are overnesting.

chrislind
1 May 2013, 11:13 PM
I fixed it by creating en entire new app with sencha cmd and copying the old views, controllers etc. into this app.

Chris