Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Add multiple textblocks to same node

$
0
0

@ash wrote:

Hi,
I need to add multiple label to my node to denote different section, is it possible as like in below image.

Currently i have achived that thing by adding extra spaces between two text items but it create a lot of issue with respect to alignment.
Below is my code:

  1. $(go.TextBlock,{font: “100pt sans-serif”,textAlign: “center”,overflow: go.TextBlock.OverflowClip,width:
    1200,height: 2100,verticalAlignment: go.Spot.Bottom},new go.Binding(“text”).makeTwoWay());
    2.text:“Bpx1\n\n\n\n\n\n\n\n Box2\n\n\n\n\n\n\n Box3”;
    please help…

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles