You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The items will all use the default node style, rather than my custom node style. I tried to follow this up in the code, but I'm quite a bit lost between StyleManager, Node::style() and NodeItem::getStyle().
After a longer investigation, it seems that in QML I override the default style, when the component is completed. This override of the default style seems to modify how my graph is rendered. If I do not override the defaults in QML, everything works fine and the C++ style is respected.
The text was updated successfully, but these errors were encountered:
I would like to style individual nodes with distinct styles. However this is not working as I would expect. Here is what I'm doing:
The items will all use the default node style, rather than my custom node style. I tried to follow this up in the code, but I'm quite a bit lost between
StyleManager
,Node::style()
andNodeItem::getStyle()
.After a longer investigation, it seems that in QML I override the default style, when the component is completed. This override of the default style seems to modify how my graph is rendered. If I do not override the defaults in QML, everything works fine and the C++ style is respected.
The text was updated successfully, but these errors were encountered: