After much debugging, I found the answer. I had to move the flex attribute on the main card layout in to the config property. So, it went from this:
Code:
Ext.define('TOMobile.view.MainContent', {
extend : 'Ext.Container',
xtype : 'main',
flex : 1,
config : {
layout : 'card',
items : []
}
});
to this:
Code:
Ext.define('TOMobile.view.MainContent', {
extend : 'Ext.Container',
xtype : 'main',
config : {
flex : 1,
layout : 'card',
items : []
}
});
I am still not sure why it worked in development and not in the build. Also, I would like to say that I have had lots of problems figuring out if things worked better in the config property or at the top level. It has gone both ways.