@ahmetgundogdu wrote:
If I give width, it looks like a bad image
No propert like maxWidth?
goMake(go.Panel, "Spot", { margin: new go.Margin(2.5, 0, 0, 0) }, goMake(go.Panel, "Auto", goMake(go.Shape, "RoundedRectangle", { fill: "rgba(0, 0, 0, 0.05)", strokeWidth: 0 }, new go.Binding("fill", "textBackgroundColor", this.bindShapeTextBackgroundColor), ), goMake(go.TextBlock, { editable: true, verticalAlignment: go.Spot.Center, alignment: go.Spot.Center, margin: new go.Margin(1, 5, 0, 5), background: "transparent", width: 100, maxLines: 2, overflow: go.TextBlock.OverflowEllipsis, }, this.makeTwoWaySubBinding("text", this.props.currentLanguage.culture), new go.Binding("font", "font", this.bindShapeTextFont), new go.Binding("isUnderline", "font", this.bindShapeTextIsUnderline), new go.Binding("stroke", "font", this.bindShapeTextColor) ) ), this.makePort("B", new go.Spot(0.5, 1, 0, 4.5), go.Spot.BottomSide, false, true, 1), this.makeHelperArrow("B_H", new go.Spot(0.5, 1, 0, 0.5), go.Spot.BottomSide, true, false, "imageBottom"), ),
Posts: 3
Participants: 2
