PDA

View Full Version : QTabBar color in space inbetween tabs



AwDogsgo2Heaven
11th March 2010, 20:21
Hello, I am trying to get the small space in between two tabs (default windows tabs) to be transparent so the background bleeds through. However I have had no luck, if anyone has any ideas on how this can be done I'd appreciate it!

I attached a picture, the small space in between two tabs I need to be transparent...here its not obvious why because the background is Grey but if I make it anything else, the space in between stays Grey. (specifically I have a gradient as a background).

high_flyer
12th March 2010, 08:44
I think that "the small space between the tabs" is the TabBars background.
You can test that by setting soma color as background, and then you will see if my guess is correct.
If it is the background, it might be that a simple setAutoFillBackground() call can solve your problem.