mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
changed combobox padding and added styled delegat to combobox
This commit is contained in:
parent
a63c8fdc3e
commit
e7cb98aac4
2 changed files with 3 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ QMenu::item:selected {
|
|||
QComboBox {
|
||||
border: 1px solid {color:border};
|
||||
border-radius: 3px;
|
||||
padding: 1px 18px 1px 3px;
|
||||
padding: 1px 3px 1px 3px;
|
||||
background: {color:bg-buttons};
|
||||
}
|
||||
QComboBox:hover {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ class ProjectManagerWindow(QtWidgets.QWidget):
|
|||
project_combobox = QtWidgets.QComboBox(project_widget)
|
||||
project_combobox.setModel(project_model)
|
||||
project_combobox.setRootModelIndex(QtCore.QModelIndex())
|
||||
style_delegate = QtWidgets.QStyledItemDelegate()
|
||||
project_combobox.setItemDelegate(style_delegate)
|
||||
|
||||
refresh_projects_btn = QtWidgets.QPushButton(project_widget)
|
||||
refresh_projects_btn.setIcon(ResourceCache.get_icon("refresh"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue