@nmvuong wrote:
I know this block of code for size of guest rectangle
$(go.Panel, "Viewbox", { desiredSize: new go.Size(50, 38) }, $(go.TextBlock, { margin: 2, desiredSize: new go.Size(55, NaN), font: "8pt Verdana, sans-serif", textAlign: "center", stroke: "darkblue" }, new go.Binding("text", "", function(data) { var s = data.key; if (data.plus) s += " +" + data.plus.toString(); return s; })) )I want to change size of guest once drag to another canvas (main diagram) and back to original size if drag back to canvas of guest.
Thanks in advanced.
Posts: 1
Participants: 1