From 7f401ca797948aa31dcbfaf3872e2f7e913b58b6 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Mon, 8 Jun 2020 10:06:09 +0200 Subject: [PATCH] delegates clean up --- pype/tools/pyblish_pype/delegate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pype/tools/pyblish_pype/delegate.py b/pype/tools/pyblish_pype/delegate.py index 766a4b74da..849495cdeb 100644 --- a/pype/tools/pyblish_pype/delegate.py +++ b/pype/tools/pyblish_pype/delegate.py @@ -5,7 +5,7 @@ from .vendor.Qt import QtWidgets, QtGui, QtCore from . import model from .awesome import tags as awesome from .constants import ( - PluginStates, InstanceStates, PluginActionStates, GroupStates, Roles + PluginStates, InstanceStates, PluginActionStates, Roles ) colors = { @@ -141,7 +141,7 @@ class PluginItemDelegate(QtWidgets.QStyledItemDelegate): icon_rect = QtCore.QRectF( option.rect.adjusted( - label_rect.width() - perspective_rect.width()/2, + label_rect.width() - perspective_rect.width() / 2, label_rect.height() / 3, 0, 0 ) )