hi,
is posiible in Qt Designer (or one time in script) change color of selected tab? I mean color QTabBar only (probably), not in the whole QTabWidget (background,...)
Thank you for possible suggestions.
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
add this to the stylesheet row in QtDesigner (see attachment):
QTabBar::tab:top:selected { background-color: #00ff00; }
Perfect, thank you Stefan.
ps: color fill does not take in consideration type of tabShape, but the purpose of visibility is nice
hi,
is posiible in Qt Designer (or one time in script) change color of selected tab? I mean color QTabBar only (probably), not in the whole QTabWidget (background,...)
Thank you for possible suggestions.
add this to the stylesheet row in QtDesigner (see attachment):
Perfect, thank you Stefan.
ps: color fill does not take in consideration type of tabShape, but the purpose of visibility is nice