1 Ext.Loader.setConfig({enabled: true});
3 Ext.Loader.setPath('Ext.ux', '../ux/');
6 'Ext.tip.QuickTipManager',
9 'Ext.ux.TabScrollerMenu'
12 Ext.onReady(function() {
13 // enable the tabTip config below
14 Ext.tip.QuickTipManager.init();
16 var win = Ext.createWidget('window', {
20 title: 'Exercising scrollable tabs with a TabScroller menu',
27 ptype: 'tabscrollermenu',
33 html: 'Creating more tabs...'
40 // Add a bunch of tabs dynamically
42 tabPanel = win.getComponent('tabPanel');
44 Ext.defer(function (num) {
48 for (i = 1; i <= tabLimit; i++) {
52 html: 'Hi, I am tab ' + i,
58 tabPanel.getComponent(0).body.update('Done!');