> I vant the "Valg" tab to be the same background (10) as the BoxPane inside it > (that has backgroundColor 10 in the picture). > > I got it looking right by doing this in initialize() for the TabPane: > > TerraTabPaneSkin skin = (TerraTabPaneSkin) getSkin(); > skin.setActiveTabColor(10); > > .. but now I'm not loosly coupled to the skin anymore, so I guess I should > subclass the skin and use my custom skin on this tab, right?
Any time you set any style you are creating a loose association with a particular theme (unless the skin lives in org.apache.pivot.wtk.skin). Now that I think about it, that's a really good argument for using stylesheets and named styles... :-)
