Custom Tab Panel Questions
Posted: Tue Jun 28, 2011 1:16 pm
I am creating some custom tab panels but have some questions.
In the .js file for my custom panel, I see a defaultBackColor property in the tabStyle class. I could also set a "background color" default to the defaults when I add the custom panel widget to the toolbar via the toolbar.add method call. Is there a difference between them?
Also, the problem I am having is that I want to set the background color of the tab panel's panel but if I do, that background color is also applied to the tab and if my tab allows any background to show (like it does because it has rounded corners) that background color is visible. So for example if the page's background is white, but I want a silver panel and set the background to silver, you can see silver on the outside of the rounder corners of the tab. Is there a way to prevent this?
Thanks.
In the .js file for my custom panel, I see a defaultBackColor property in the tabStyle class. I could also set a "background color" default to the defaults when I add the custom panel widget to the toolbar via the toolbar.add method call. Is there a difference between them?
Also, the problem I am having is that I want to set the background color of the tab panel's panel but if I do, that background color is also applied to the tab and if my tab allows any background to show (like it does because it has rounded corners) that background color is visible. So for example if the page's background is white, but I want a silver panel and set the background to silver, you can see silver on the outside of the rounder corners of the tab. Is there a way to prevent this?
Thanks.