Hi,
I am using the parameter tree to dynamically add entire parameter groups 
with the context menu. This works just fine, but the level 0 parameter 
group should all be dark grey with enhanced size. This seems not to work so 
far. The initial one is dark grey with enhanced size, but the added ones in 
the same level are light grey and smaller as you can see in the screenshot 
below. 

If I add more models during init, it works just fine, but adding them 
afterwards results in the same issue.
A workaround for now is to reset the parameters to the parameter tree in 
the slot of the context menu as follows:
self.paramTree.setParameters(self.p, showTop=False)
I think this is not intended to be the conventional approach, because if I 
do this the entire tree expands each time I add a new model, which is quite 
enoying. 

Is this really a bug or do I need a different workaround for this?

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/8445b265-06de-42f9-a42f-c1094841ea0cn%40googlegroups.com.

Reply via email to