Re: Tab labels not shown correctly

Davide Liessi <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAOXn3bpbcxYXkt0eb4ECu4QNKDRq7f5-=MDXvkvY41WrPBiBLQ@mail.gmail.com>
Il giorno lun 9 mar 2020 alle ore 12:40 Souvik Dutta Chowdhury
<[email protected]> ha scritto:
> Change the padding to 0px or 1px using stylesheets by writing
> <your widget>.setStyleSheet("padding: 0px 0px 0px 0px")
> It should work. Report if this works.

I tried both
win.tabBar.setStyleSheet("padding: 0px 0px 0px 0px")
and
mainwindow.setStyleSheet("padding: 0px 0px 0px 0px")
(and with 1px as well), but there was no difference.
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.