qt - how to change background color for qtabbar empty space pyqt -


i need change background color empty space of qtabbar in image below, can use style sheet change tabbar change tabs not empty space next tabs (red bordered area)

i using pyqt enter image description here

as far know can make either via:

tabwidget->setstylesheet("qtabbar { background-color: red; }"); tabwidget->setdocumentmode(true);

but doesn't good.

or via:

tabwidget->setautofillbackground(true); qpalette pal = tabwidget->palette(); pal.setcolor(qpalette::window, qt::red); tabwidget->setpalette(pal);

or create qwidget background , insert qtabwidget on top of it.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -