diff --git a/openpype/style/style.css b/openpype/style/style.css index 78052a9fdd..87df484843 100644 --- a/openpype/style/style.css +++ b/openpype/style/style.css @@ -481,6 +481,11 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { background: none; } +/* Globally used names */ +#Separator { + background: {color:bg-menu-separator}; +} + #IconBtn {} /* Project Manager stylesheets */ diff --git a/openpype/tools/tray/pype_info_widget.py b/openpype/tools/tray/pype_info_widget.py index cf4c84301b..f95a31f7c2 100644 --- a/openpype/tools/tray/pype_info_widget.py +++ b/openpype/tools/tray/pype_info_widget.py @@ -295,7 +295,7 @@ class PypeInfoSubWidget(QtWidgets.QWidget): def _create_separator(self): separator_widget = QtWidgets.QWidget(self) - separator_widget.setStyleSheet("background: #222222;") + separator_widget.setObjectName("Separator") separator_widget.setMinimumHeight(2) separator_widget.setMaximumHeight(2) return separator_widget