Re: Tab labels not shown correctly

Souvik Dutta <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <TY2PR0101MB3232594A2EAAA54396C0839AF2FE0@TY2PR0101MB3232.apcprd01.prod.exchangelabs.com>
Did you use the correct selector like you should probably say,
self.setStyleSheet(<object name>: disabled{padding: 0px 0px 0px 0px})

On Mon, Mar 9, 2020, 5:34 PM Davide Liessi <[email protected]> wrote:

> 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.