Skip to content

Commit

Permalink
tree widget bg fix #390
Browse files Browse the repository at this point in the history
  • Loading branch information
jchanvfx committed Oct 23, 2023
1 parent fe711d4 commit cb17a0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion NodeGraphQt/custom_widgets/nodes_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def _build_tree(self):
cat_item = _BaseNodeTreeItem(self, [label], type=TYPE_CATEGORY)
cat_item.setFirstColumnSpanned(True)
cat_item.setFlags(QtCore.Qt.ItemIsEnabled)
cat_item.setBackground(0, QtGui.QBrush(palette.midlight().color()))
cat_item.setSizeHint(0, QtCore.QSize(100, 26))
self.addTopLevelItem(cat_item)
cat_item.setExpanded(True)
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
properties_bin = PropertiesBinWidget(node_graph=graph)
properties_bin.setWindowFlags(QtCore.Qt.Tool)

# example show the node properties bin widget when a node is double clicked.
# example show the node properties bin widget when a node is double-clicked.
def display_properties_bin(node):
if not properties_bin.isVisible():
properties_bin.show()
Expand Down

0 comments on commit cb17a0b

Please sign in to comment.