mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
instance view is offset
This commit is contained in:
parent
fcecf2cc6c
commit
4a76cfe1c5
2 changed files with 16 additions and 1 deletions
|
|
@ -723,6 +723,15 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|||
border-left-color: {palette:blue-light};
|
||||
}
|
||||
|
||||
#ValidationErrorInstanceList {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#ValidationErrorInstanceList::item {
|
||||
border-bottom: 1px solid {color:border};
|
||||
border-left: 1px solid {color:border};
|
||||
}
|
||||
|
||||
#ArrowBtn, #ArrowBtn:disabled, #ArrowBtn:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -99,11 +99,17 @@ class ValidationErrorTitleWidget(QtWidgets.QWidget):
|
|||
instances_view.setModel(instances_model)
|
||||
instances_view.setVisible(False)
|
||||
|
||||
view_layout = QtWidgets.QHBoxLayout()
|
||||
view_layout.setContentsMargins(0, 0, 0, 0)
|
||||
view_layout.setSpacing(0)
|
||||
view_layout.addSpacing(14)
|
||||
view_layout.addWidget(instances_view)
|
||||
|
||||
layout = QtWidgets.QVBoxLayout(self)
|
||||
layout.setSpacing(0)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
layout.addWidget(title_frame)
|
||||
layout.addWidget(instances_view)
|
||||
layout.addLayout(view_layout)
|
||||
|
||||
if not context_validation:
|
||||
toggle_instance_btn.clicked.connect(self._on_toggle_btn_click)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue