exo
24 Mar 2007, 3:03 AM
Hi there,
First of all, I'm new with this framework (rather: with JS frameworks in general) so please bear with me. From what I've seen Ext is really nice and I was hoping you guys could help me out with a problem I've encountered. I don't know if this is a bug or an intended feature and I'm doing something wrong, I'll try to explain myself as clear as possible.
So, I have a BorderLayout. It's center region can house 1 or more dynamically generated ContentPanels. These can be closed and opened by the user. The tabs of these panels are positioned at the bottom. So far so good.
A typical panel in this centerregion contains a nested BorderLayout. This BorderLayout is created by passing a reference to the panels element to the BorderLayout constructors first parameter. The inner BorderLayout also has a center region which also features some tabs, however these tabs are positioned at the top of the panel and cannot be closed.
The problem:
The style of the tabs on the inner BorderLayout acts as if it's tabPosition is set to bottom. The positioning itself is in order but apperently they inherit the css style from the outer BorderLayout?
http://img.photobucket.com/albums/v125/exodepexo/yui.gif
I hope I'm making myself somewhat clear. If you want I'll post some code or screenshots, thanks a lot in advance :).
First of all, I'm new with this framework (rather: with JS frameworks in general) so please bear with me. From what I've seen Ext is really nice and I was hoping you guys could help me out with a problem I've encountered. I don't know if this is a bug or an intended feature and I'm doing something wrong, I'll try to explain myself as clear as possible.
So, I have a BorderLayout. It's center region can house 1 or more dynamically generated ContentPanels. These can be closed and opened by the user. The tabs of these panels are positioned at the bottom. So far so good.
A typical panel in this centerregion contains a nested BorderLayout. This BorderLayout is created by passing a reference to the panels element to the BorderLayout constructors first parameter. The inner BorderLayout also has a center region which also features some tabs, however these tabs are positioned at the top of the panel and cannot be closed.
The problem:
The style of the tabs on the inner BorderLayout acts as if it's tabPosition is set to bottom. The positioning itself is in order but apperently they inherit the css style from the outer BorderLayout?
http://img.photobucket.com/albums/v125/exodepexo/yui.gif
I hope I'm making myself somewhat clear. If you want I'll post some code or screenshots, thanks a lot in advance :).