Standard Looking Mac Tab Panel

For those of you who develop in Mac OSX.

I am having some trouble making my tab panels look like the standard ones found in Mac OSX. When I create a panel with three tabs, all is fine, except one thing. The background color for the form inside the panel is too light.

In Mac OSX there is a basic grey color pattern for all backgrounds. When a tab panel is placed on the window the tabs background should be slightly darker from the surrounding background. If I nest another tab panel inside the first then that panels background color is even darker. The nested panels get progressively darker.

The problem is that Servoy’s tab panels do not get progressively darker. They stay the same color as the main background. This causes a problem for the user. The tab panel area cannot be easily seen from the main background.

Is there a way to fix this so it is like Mac OSX’s colors?

Set the “background” color of the form INSIDE THE TABPANEL to “DEFAULT”. That should work.

bcusick:
Set the “background” color of the form INSIDE THE TABPANEL to “DEFAULT”. That should work.

I did not find a background color property for the form but I did find one for the body part for the form in the tab panel. It was already set to “default”. If this is what you are talking about then it does not solve my question.

The background of the tab panel has the coreect pattern for OSX but the wrong shade of grey. Servoy places the correct tab panel boarder and the correct shade of grey around the boarder but when Servoy draws in the rect area for the form it uses the same pattern and grey shade as the main form’s background.

I wish there was a way to post an image on this form for you to see what I am talking about. :frowning:

If you do not mind. Maybe I could email an image you, Bob.

Sure, you can email if you want. KEEP IN MIND the “thing” that controls the “default” values is the Java Look And Feel. That is something we have no control over, since we didn’t write it.