mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
error detail has UI friendly style
This commit is contained in:
parent
dda59a174d
commit
c8b03161b1
2 changed files with 15 additions and 0 deletions
|
|
@ -570,6 +570,20 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#InfoText {
|
||||
padding: 5px;
|
||||
background: transparent;
|
||||
border: 1px solid {color:border};
|
||||
}
|
||||
|
||||
#InfoText:hover {
|
||||
border-color: {color:border};
|
||||
}
|
||||
|
||||
#InfoText:focus {
|
||||
border-color: {color:border};
|
||||
}
|
||||
|
||||
#TypeEditor, #ToolEditor, #NameEditor, #NumberEditor {
|
||||
background: transparent;
|
||||
border-radius: 0.3em;
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ class ValidationsWidget(QtWidgets.QWidget):
|
|||
|
||||
error_details_widget = QtWidgets.QWidget(self)
|
||||
error_details_input = QtWidgets.QTextEdit(error_details_widget)
|
||||
error_details_input.setObjectName("InfoText")
|
||||
error_details_input.setTextInteractionFlags(
|
||||
QtCore.Qt.TextBrowserInteraction
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue