mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
use object name for separator color instead of hardcoded color in code
This commit is contained in:
parent
deb77e8b00
commit
cf10f50229
2 changed files with 6 additions and 1 deletions
|
|
@ -481,6 +481,11 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Globally used names */
|
||||||
|
#Separator {
|
||||||
|
background: {color:bg-menu-separator};
|
||||||
|
}
|
||||||
|
|
||||||
#IconBtn {}
|
#IconBtn {}
|
||||||
|
|
||||||
/* Project Manager stylesheets */
|
/* Project Manager stylesheets */
|
||||||
|
|
|
||||||
|
|
@ -295,7 +295,7 @@ class PypeInfoSubWidget(QtWidgets.QWidget):
|
||||||
|
|
||||||
def _create_separator(self):
|
def _create_separator(self):
|
||||||
separator_widget = QtWidgets.QWidget(self)
|
separator_widget = QtWidgets.QWidget(self)
|
||||||
separator_widget.setStyleSheet("background: #222222;")
|
separator_widget.setObjectName("Separator")
|
||||||
separator_widget.setMinimumHeight(2)
|
separator_widget.setMinimumHeight(2)
|
||||||
separator_widget.setMaximumHeight(2)
|
separator_widget.setMaximumHeight(2)
|
||||||
return separator_widget
|
return separator_widget
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue