- added new setting for the color of the Project Tree items; it helps in providing contrast when using dark theme like the one in MacOS
This commit is contained in:
@@ -256,6 +256,13 @@ class ObjectCollection(QtCore.QAbstractItemModel):
|
||||
# self.view.setAcceptDrops(True)
|
||||
# self.view.setDropIndicatorShown(True)
|
||||
|
||||
color = self.app.defaults['global_proj_item_color']
|
||||
# set StyleSheet
|
||||
stylesheet = "QTreeView::item {color: %s;}" % color
|
||||
|
||||
self.view.setStyleSheet(stylesheet)
|
||||
|
||||
|
||||
font = QtGui.QFont()
|
||||
font.setPixelSize(12)
|
||||
font.setFamily("Seagoe UI")
|
||||
|
||||
Reference in New Issue
Block a user