+ // Using a little trick to resize registered components:
+ // i.e. just use RESIZEME_ARRAY.push(function() { <code> }); to register a function
+ // to be called during these events.
+ mainBorderPanel.on('resize', resize_registered);
+ var northBorderPanel = Ext.getCmp('north_border_panel');
+ northBorderPanel.on('collapse', resize_registered_panel);
+ northBorderPanel.on('expand', resize_registered_panel);
+
+