Hello all,
I’m a begginer in docking frames (just started yesterday), and was able to do useful stuff with it already. It is really a very good piece of software.
But there is something I was not able to do: setting a different color for the background of the tab of specific docks. I’m using CControl with default content area.
I tried to do this:
DefaultSingleCDockable dock = new DefaultSingleCDockable("someid", "Title", someComponent);
dock.getColorMap().setColor(ColorMap.COLOR_KEY_TAB_BACKGROUND, Color.RED);
but it didn’t work.
Setting other color keys did work, like COLOR_KEY_TITLE_BACKGROUND, our COLOR_KEY_MINIMIZED_BUTTON_BACKGROUND. But with the tab background I had no success.
Does anybody have an idea on how to set a different color for the tab of a specific dockable when it is stacked?
thanks in advance,
Fabio