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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -