Skip to content

Instantly share code, notes, and snippets.

@maty974
maty974 / setNukeZeroMarginsWidget.py
Last active March 14, 2024 09:09
The Foundry Nuke hack works with "nukescripts.panels.registerWidgetAsPanel", to remove the disturbing widget contents margins set by Nuke.
'''
Created on Feb 8, 2013
@author: matthieuc
@contact: matthieu.cadet@gmail.com
'''
import PySide.QtGui as QtGui
def setNukeZeroMarginsWidget(widget_object):
@maty974
maty974 / hideAllViewerQtInfosWidgets.py
Created April 3, 2012 15:11
Hide all Nuke Viwer Qt Infos Widgets
def hideAllViewerQtInfosWidgets():
try:
import PySide.QtGui as QtGui
parentApp = QtGui.QApplication.allWidgets()
parentName = "Viewer"
name = "/"
parentViewer = None
for parent in parentApp: