PDA

View Full Version : BorderLayout borders



consigliere
21 May 2007, 5:33 AM
Hello,

I'm building a backend application. Its layout is similar to that used the Ext Documentation Center:

North: header
West: NavTree
Center: Iframe which contents are loaded via NavTree (src attribute)

The contents of Center can be anything, but will mostly be a BorderLayout too and that's why I'm requesting for help here.

It seems, BorderLayout automatically draws a border around it and if a BorderLayout is loaded into my Center-region, a border will be drawn too. So in my NavTree, there's a 1px border (which is ok) and in my Center-region, there's a 2px border (from the main layout and from the layout loaded into the iframe).

Does anyone know, whether there's a way to avoid drawing a border?

You can see that effect in the Ext Documentation Center / Examples and Demos / Nested Layouts. There's a 2px border between titlebar ("View Documentation") and the navigation ("Yahoo! UI Library" and "Ajaxian.com").

Regards

jsakalos
21 May 2007, 6:00 AM
You can override any Ext css class in your custom stylesheet. Use Firebug and explore the rendered html to see which css calsses to override.

consigliere
21 May 2007, 7:02 AM
Ok, thanks for that quick reply.