mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
delegates clean up
This commit is contained in:
parent
afcb21fefd
commit
7f401ca797
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue