Hey,
I still try to improve my app and I have some trouble to understand why there is a viewport.
Do I really need a viewport? I dont know why i can't just use an Component like an container and set his layout to 'fit'.
I would like to get rid of the viewport component. At the moment i have to use something like:
or the direct creation:Code:plugins: 'viewport',
Is there any other way to handle this "overhead"?Code:var viewport = Ext.create( 'Ext.container.Viewport', { items: [ Ext.create( 'view.myBaseView') ], layout : 'fit' }); viewport.show();
kind regards