CompCogNeuro/sims

Unit names don't align with units

Closed this issue · 5 comments

This may not have been implemented yet, but I notice that the unit names on the network do not align with the units.
Also, I don't see where the names for the units are defined anywhere, so I was curious how that was done.

It is done by adding labels separately -- see ConfigNetView method. unit names are not included in the core api to keep things simpler, and labels are much more flexible. but as you note, the alignment is only approximate. on my system it is still aligned closely enough that it is usable -- please post screenshot if otherwise on yours.

Looks like a mac -- retina display? It turns out that when I run on my mac laptop's native display (instead of external monitor I usually use) I replicate this bug, although it is slightly different. Thanks for the report.

fixed -- was doing word wrapping -- set style to stick to label format