@jvasanthu wrote:
Hi Support
The Images on the node is not appearing in the top right. Below is the code and attachment. I did alignment go.Spot.TopRight. Not working.
$(go.Picture, {
name: "Picture",
desiredSize: new go.Size(15, 15),
alignment: go.Spot.TopRight,
alignmentFocus: go.Spot.TopRight,}, new go.Binding("source", "isCommandAlter", findUpArrowImg), new go.Binding("visible", "isCommandRepAccess")), $(go.Picture, { name: "Picture", desiredSize: new go.Size(15, 15), alignment: go.Spot.TopRight, alignmentFocus: go.Spot.TopRight, }, new go.Binding("source", "isCommandRepAccess", findIRSImg), new go.Binding("visible", "isCommandRepAccess")), $("Button", { alignment: go.Spot.BottomRight, alignmentFocus: go.Spot.BottomRight, name: 'TREEBUTTON', click: function(e, obj) { // OBJ is the Button myDiagram.commandHandler.showContextMenu(e.targetObject); e.handled = true; } //mouseClick: function(e, obj) { myDiagram.commandHandler.showContextMenu(e.targetObject);} }, $(go.Picture, { name: "Picture", desiredSize: new go.Size(15, 15), }, new go.Binding("source", "key", findPencilImg)), new go.Binding("visible", "key", showContextButton))) // end Horizontal Panel ); // end
Posts: 1
Participants: 1
