[PyQt] Tab labels not shown correctly
Davide Liessi
davide.liessi at gmail.com
Mon Mar 9 12:03:54 GMT 2020
Il giorno lun 9 mar 2020 alle ore 12:40 Souvik Dutta Chowdhury
<souvik.viksou at outlook.com> 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.
More information about the PyQt
mailing list