mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
fixed minimum size of validation error instance list
This commit is contained in:
parent
92ed7a3013
commit
3f4e984681
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ class ValidationErrorInstanceList(QtWidgets.QListView):
|
|||
|
||||
def minimumSizeHint(self):
|
||||
result = super(ValidationErrorInstanceList, self).minimumSizeHint()
|
||||
result.setHeight(0)
|
||||
result.setHeight(self.sizeHint().height())
|
||||
return result
|
||||
|
||||
def sizeHint(self):
|
||||
|
|
@ -92,7 +92,7 @@ class ValidationErrorTitleWidget(QtWidgets.QWidget):
|
|||
item = QtGui.QStandardItem(label)
|
||||
item.setData(instance.id)
|
||||
items.append(item)
|
||||
break
|
||||
|
||||
instances_model.invisibleRootItem().appendRows(items)
|
||||
|
||||
instances_view = ValidationErrorInstanceList(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue