<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="auto">Did you use the correct selector like you should probably say, <div dir="auto">self.setStyleSheet(<object name>: disabled{padding: 0px 0px 0px 0px})</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 9, 2020, 5:34 PM Davide Liessi <<a href="mailto:davide.liessi@gmail.com" target="_blank" rel="noreferrer">davide.liessi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il giorno lun 9 mar 2020 alle ore 12:40 Souvik Dutta Chowdhury<br>
<<a href="mailto:souvik.viksou@outlook.com" rel="noreferrer noreferrer" target="_blank">souvik.viksou@outlook.com</a>> ha scritto:<br>
> Change the padding to 0px or 1px using stylesheets by writing<br>
> <your widget>.setStyleSheet("padding: 0px 0px 0px 0px")<br>
> It should work. Report if this works.<br>
<br>
I tried both<br>
win.tabBar.setStyleSheet("padding: 0px 0px 0px 0px")<br>
and<br>
mainwindow.setStyleSheet("padding: 0px 0px 0px 0px")<br>
(and with 1px as well), but there was no difference.<br>
</blockquote></div>