error detail has UI friendly style

This commit is contained in:
iLLiCiTiT 2021-08-20 16:05:46 +02:00
parent dda59a174d
commit c8b03161b1
2 changed files with 15 additions and 0 deletions

View file

@ -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;

View file

@ -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
)