[SOLVED] How To Style Tab Background on Mac OSX

  • Anyone know how, on Mac OSX, I can style the QTabWidget (or sub controls in it) so that I can change the dark grey background color shown in this image, as well as the dark border at the top of it?

    Tab Image

  • The solution is an undocumented trick:

    background-color: transparent;

    This lets you make the dark grey area (called the "tab bar base") as transparent. Or, alternatively, you can style it by changing the background-color value to a color.

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.