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

Display error when using html in nodes?

0 votes

Hello,

when using html in my nodes, my input isn't displayed correctly:  The letter V gets cut off. If I add another letter (say an X) to the line, the X would get cut off. The box itself is wide enough. When not using html in the same node, the error doesn't occur. Any way to fix this?

Code:

<html>

○ Powertrain: BEV, FCEV, ICEV<br>

</html>

in Help by

1 Answer

0 votes
 
Best answer
Java's text measurement for HTML sometimes has problems.

The simplest workaround is adding one or more &nbsp; entities at the end of long lines. The text will still be incorrectly cut off, but the cut off characters will be whitespace and thus the actual text will still be readable.
by [yWorks] (142k points)
Legal Disclosure | Privacy Policy
...