Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with vertical GroupNode #413

Open
AakashTiwari1027 opened this issue Mar 17, 2024 · 1 comment
Open

Bug with vertical GroupNode #413

AakashTiwari1027 opened this issue Mar 17, 2024 · 1 comment
Labels

Comments

@AakashTiwari1027
Copy link

When trying to create a GroupNode with NodeGraph.set_layout_direction(1) it throws the following error:

Traceback (most recent call last):
File "C:\Users\awant\AppData\Local\Programs\Python\Python311\Lib\site-packages\NodeGraphQt\qgraphics\node_base.py", line 197, in paint
self._paint_vertical(painter, option, widget)
File "C:\Users\awant\AppData\Local\Programs\Python\Python311\Lib\site-packages\NodeGraphQt\qgraphics\node_group.py", line 125, in _paint_vertical
painter.setBrush(QtGui.QColor(*self.color).dark(180))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'QColor' object has no attribute 'dark'. Did you mean: 'darker'?

Side Note: Would be greatly appreciated if the name of vertical nodes appeared on the node instead of to the right :)

@jchanvfx jchanvfx added the bug label Apr 1, 2024
@EssenOH
Copy link

EssenOH commented Apr 3, 2024

It might be a no good idea putting the name on the node because there is no an appropriate place.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants