Check out the "_nuke_set_zero_margins" function here:
https://github.com/fredrikaverpil/pyvfx-boilerplate/blob/master/boilerplate.py

fre 19 maj 2017 kl. 14:55 skrev Bruno-Pierre Jobin <bpjo...@gmail.com>:

> It helps a little bit (I'm gaining around 5px). When I compare to a python
> panel though, it too has that bezel. Maybe it's deeper inside Nuke styling?
>
> On Fri, May 19, 2017 at 2:14 AM, Frank Rueter|OHUfx <fr...@ohufx.com>
> wrote:
>
>> Have you tried setting your main widgets content margins to 0?
>> E.g.:
>>         layout = QVBoxLayout()
>>         layout.setContentsMargins(0,0,0,0)
>>
>>
>>
>>
>> On 18/05/17 8:10 AM, Bruno-Pierre Jobin wrote:
>>
>> Hi,
>>
>> I think this has been discussed before, but I can't find the thread. Is
>> there a way to make a PySide widget take up the full width and height of
>> the available space in a tab?
>>
>>
>> ​
>> ​Thank you!
>>
>> --
>> Bruno-Pierre Jobin
>> www.bpjobin.com
>>
>>
>> _______________________________________________
>> Nuke-python mailing listnuke-pyt...@support.thefoundry.co.uk, 
>> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>>
>> _______________________________________________
>> Nuke-python mailing list
>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>
>
> --
> Bruno-Pierre Jobin
> www.bpjobin.com
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to