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

Shape should be in center when resized

$
0
0

@Rajeshpatil74 wrote:

Following is the codepen link

In the model used -
"First Document" do not use any textAlign or textAlignFocus values, and shapes looks nice with centered text.
But when resized, shape gets moved on left side. It should remain in center.

Where as Second Document & Third Document uses textAlign and textAlignFocus values. When these values used, the bounds of node gets changed. The node should remain in centerl within these bounds ?

What needs to be changed in template ??

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles