PDA

View Full Version : layout question



corvonero
7 Nov 2012, 6:57 PM
Hello all,
may I ask what is responsible of setting the "top" style property of a tab.bar in a tab.panel ?

I am trying to find out why the setting is ok in chrome and wrong on iex when using neptune css

Thanks.

( I am referring to the top property of the body of the panel )

M.

sword-it
7 Nov 2012, 10:10 PM
Hi,

you can see this link:http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Panel-cfg-tabBar

corvonero
8 Nov 2012, 1:10 AM
Sorry,
my question was really not clear...
Let me ask again:

A tab.panel renders more or less like this:

<div class="x-panel ...">
<div class="x-tab-bar x-docked ... "></div>
<div class="x-panel-body ... "></div>
</div>

The x-panel-body has a top property set on the element (not in the class).
Using neptune, this property is 30px in chrome/firefox/webkit ... and 20px in IEx.

I am fixing neptune to work on IEx as weel, but I failed to find what sets that property.

The result, in IEx, is that the x-panel-body overlaps over x-tab-bar ...

Could you point me to the specific code part?

Thanks,
M.