I'm learning ExtJS 4 and I just figured out how to center containers/panels. In order to do this I needed to add the following at the top of my my app.js
Ext.Loader.setPath('Ext.ux', 'extjs/examples/ux');
Ext.require('Ext.ux.layout.Center');
The ux folder is in the example folder that came with ExtJS 4, I'm wondering why this package and some others are in the examples folder rather than being in the src folder with the rest of the framework.
I'm learning ExtJS 4 and I just figured out how to center containers/panels. In order to do this I needed to add the following at the top of my my app.js
Ext.Loader.setPath('Ext.ux', 'extjs/examples/ux');
Ext.require('Ext.ux.layout.Center');
The ux folder is in the example folder that came with ExtJS 4, I'm wondering why this package and some others are in the examples folder rather than being in the src folder with the rest of the framework.
Share Improve this question asked Mar 14, 2012 at 22:21 Adam LangsnerAdam Langsner 1,2861 gold badge16 silver badges25 bronze badges 1- 1 I, too, find this odd. – mustafa.0x Commented Feb 13, 2014 at 13:04
1 Answer
Reset to default 7Because Sencha considers them being "beta-code". Often code what was in ux
will be included into main code branch in the following releases.