diff --git a/openpype/style/style.css b/openpype/style/style.css index a60c3592d7..19245cdc40 100644 --- a/openpype/style/style.css +++ b/openpype/style/style.css @@ -1194,3 +1194,17 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { #ImageButton:disabled { background: {color:bg-buttons-disabled}; } + +/* Input field that looks like disabled +- QAbstractSpinBox, QLineEdit, QPlainTextEdit, QTextEdit +- usage: QLineEdit that is not editable but has selectable color + */ +#LikeDisabledInput { + background: {color:bg-inputs-disabled}; +} +#LikeDisabledInput:hover { + border-color: {color:border}; +} +#LikeDisabledInput:focus { + border-color: {color:border}; +} diff --git a/openpype/tools/settings/local_settings/apps_widget.py b/openpype/tools/settings/local_settings/apps_widget.py index 6f58a68fff..f06e1ec109 100644 --- a/openpype/tools/settings/local_settings/apps_widget.py +++ b/openpype/tools/settings/local_settings/apps_widget.py @@ -64,6 +64,7 @@ class AppVariantWidget(QtWidgets.QWidget): for item in studio_executables: path_widget = QtWidgets.QLineEdit(content_widget) + path_widget.setObjectName("LikeDisabledInput") path_widget.setText(item.value) path_widget.setReadOnly(True) content_layout.addWidget(path_widget)