PDA

View Full Version : Changing color of only one tab



Tiansen
6th January 2011, 12:31
Hello,

I want to change color of tab at specific index. Can I achieve this with setStyleSheet or is there some other way? I want only tab name background colored (not just text background, but whole area that is clickable) not the whole tab area. How can I achieve this?

tbscope
7th January 2011, 04:34
I remember this being asked before.
By default, this is not possible (if I remember it correctly), even not with stylesheets.

I guess you can try a subclassed tab widget (with a custom style maybe)