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

Palette item vertical single line

$
0
0

@usernh wrote:

Hello.
I want to create a palette with one vertical line. How can this be implemented?
Thanks.

My code:

this.testPalette.nodeTemplate = $(
    go.Node, 'Vertical',
        { locationObjectName: 'test', locationSpot: go.Spot.Center },
    $(go.Shape,
        { width: 80, height: 80 },
    $(go.TextBlock,
        { name: 'test' }
        new go.Binding('text', 'text'))
    );

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles