PDA

View Full Version : Border Layout + Toolbar + Scrolling = Non Static Toolbar



PuritysDisciple
4 Feb 2007, 6:44 PM
Ive got a border layout setup with a toolbar on the east panel. If the dynamic content I load into it causes the panel to scroll, the toolbar will scroll with it. I was just wondering if anyone knew how to fix this.

Here is the code I am using.


dbtb = new YAHOO.ext.Toolbar(db.createChild({tag:'div'}));

layout.beginUpdate();
layout.add('north', new YAHOO.ext.ContentPanel('north', 'North'));
layout.add('south', new YAHOO.ext.ContentPanel('south', {title: 'Console'}));
layout.add('west', new YAHOO.ext.ContentPanel('west', {title: 'Databases',toolbar: dbtb}));
layout.add('center', new YAHOO.ext.ContentPanel('center', {closable: false}));
layout.endUpdate();

dbadke
5 Feb 2007, 11:41 AM
See post "Nested, complex, multi-tab layout and scrolling" (http://www.yui-ext.com/forum/viewtopic.php?t=2502).