Problem with GoTextNode.AutoResize

We just recently upgraded from GoDiagram.NET 2.2.1 to 2.4.1 and found that GoTextNode.AutoResize behaves differently between the 2 versions.
We are trying to use a GoTriangle as the GoTextNode.Background. By default, the GoTriangle is equilateral and pointing downward. In our application we have modified the GoTriangle to point upward by changing GoTriangle.A, .B, and .C.
With version 2.2.1, it seems like it waits to do the AutoResizes until after you have set all 3 points (A, B, C) so that it works correctly. But with version 2.4.1, it does an AutoResize after each point is set (one AutoResize after setting .A, another AutoResize after setting .B, and a third AutoResize after setting .C). The resulting triangle using version 2.4.1 therefore looks nothing like it did with 2.2.1. It is not equilateral and is skewed off to one side rather than pointing straight upward.
Here is a sample of the code we are using:
GoTextNode textNode = </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>new</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> GoTextNode();</FONT></FONT> <FONT size=2><FONT face="Courier New, Courier, mono">textNode.Background = </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>new</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> GoTriangle();</FONT> <FONT face="Courier New, Courier, mono">GoTriangle triangle = textNode.Background </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>as</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> GoTriangle;</FONT></FONT><FONT size=2> </FONT> <FONT color=#008000 size=2><FONT face="Courier New, Courier, mono"></FONT></FONT><FONT size=2><FONT face="Courier New, Courier, mono">triangle.A = </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>new</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> PointF(5, 0);</FONT> <FONT face="Courier New, Courier, mono">triangle.B = </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>new</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> PointF(0, 10);</FONT> <FONT face="Courier New, Courier, mono">triangle.C = </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>new</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> PointF(10, 10);</FONT> <FONT face="Courier New, Courier, mono"></FONT> </FONT> <FONT color=#008000 size=2><FONT face="Courier New, Courier, mono"></FONT></FONT><FONT size=2><FONT face="Courier New, Courier, mono">textNode.TopLeftMargin = </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>new</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> SizeF(20, 20);</FONT> <FONT face="Courier New, Courier, mono">textNode.BottomRightMargin = </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>new</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> SizeF(20, 10);</FONT></FONT><FONT size=2> <FONT face="Courier New, Courier, mono">textNode.Text = "ABCDE";</FONT> <FONT face="Courier New, Courier, mono">view.Document.Add(textNode);
After studying this for some time to figure out the problem, we finally came up with a workaround where we set textNode.AutoResizes to false before setting A, B, C, TopLeftMargin, and BottomRightMargin, then set AutoResizes back to true before setting textNode.Text.
This workaround seems to be working for us, but we just wondered if anyone else had reported this inconsistent behavior when upgrading to version 2.4.1 and if there was another solution to this problem.
Thanks in advance,
-Darren Jones

That’s interesting. Sorry about that.
I would just do this instead:

      GoTextNode textNode = new GoTextNode();<BR>      GoTriangle triangle = new GoTriangle();<BR>      triangle.A = new PointF(5, 0);<BR>      triangle.B = new PointF(0, 10);<BR>      triangle.C = new PointF(10, 10);<BR>      textNode.TopLeftMargin = new SizeF(20, 20);<BR>      textNode.BottomRightMargin = new SizeF(20, 10);<BR>      textNode.Background = triangle;<BR>      textNode.Text = "ABCDE";<BR>      doc.Add(textNode);<BR>

In other words, construct the shape first, then replace the GoTextNode.Background object.