Alignment of nodes


I have some trouble aligning my nodes. So I set-up a test case. I have two nodes (btw, those are derived from GoGeneralNode) placed at exactly the same location. Both nodes have a BottomLabel with wrapping enabled.

When both labels are monoline, the nodes are aligned.
When both labels are multiline (no matter the number of lines), the nodes are aligned.
When one is monoline, the other multiline, there is some misalignment in the X direction (about 1 pixel at default zooming value), the Y direction remains aligned correctly.

Does anyone have some idea about this behaviour ?


Sorry about that, but there are different algorithms used for the single line and multi line cases. Another difference is whether GoText.Wrapping is true or false.