mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
label of attribute definition also have tooltip
This commit is contained in:
parent
9cc8f1818c
commit
b7078d77e2
1 changed files with 3 additions and 0 deletions
|
|
@ -146,6 +146,9 @@ class AttributeDefinitionsWidget(QtWidgets.QWidget):
|
|||
|
||||
if attr_def.label:
|
||||
label_widget = QtWidgets.QLabel(attr_def.label, self)
|
||||
tooltip = attr_def.tooltip
|
||||
if tooltip:
|
||||
label_widget.setToolTip(tooltip)
|
||||
layout.addWidget(
|
||||
label_widget, row, 0, 1, expand_cols
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue