mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
added style for multiselection combobox
This commit is contained in:
parent
13576aeedc
commit
016ea3146b
2 changed files with 5 additions and 0 deletions
|
|
@ -110,6 +110,10 @@ QPushButton[btn-type="expand-toggle"] {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
#MultiSelectionComboBox {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#DictKey[state="studio"] {border-color: #bfccd6;}
|
||||
#DictKey[state="modified"] {border-color: #137cbd;}
|
||||
#DictKey[state="overriden"] {border-color: #00f;}
|
||||
|
|
|
|||
|
|
@ -143,6 +143,7 @@ class MultiSelectionComboBox(QtWidgets.QComboBox):
|
|||
self, parent=None, placeholder="", separator=", ", **kwargs
|
||||
):
|
||||
super(MultiSelectionComboBox, self).__init__(parent=parent, **kwargs)
|
||||
self.setObjectName("MultiSelectionComboBox")
|
||||
self.setFocusPolicy(QtCore.Qt.StrongFocus)
|
||||
|
||||
self._popup_is_shown = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue