Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Text align seems broken on yEd 3.9

0 votes
When I create a node, widen it and set the Align property in the Label category the text doesn't align neither to left nor to right.

Do I do something wrong to align it in the shape?

Thank you
in Help by (120 points)
recategorized by

1 Answer

+1 vote
Likely, this is not a bug.

In yEd, text alignment is relative to the label box not the node size. The label box is the rectangle shown when a label is selected. By default, the label box has the size of the label text and, therefore, text alignment has no visible effect. You can adjust the size of the label box to the node width / height / size in the properties view (section Label, option Size).

You may want to have a look at the tools 'Fit node to label' and 'Fit label to node'.
by [yWorks] (26.8k points)
Multiline edge label alignment
Legal Disclosure | Privacy Policy
...