eta
#1
Hey,
using a Panel with background-color and adding a TextBlock to it, for some reason the background does not wrap the TextBlock correctly.
TooltipCode:
toolTip: new Adornment(Panel.Spot, {
background: 'white',
}).add(new TextBlock().bind('text', 'name')),
Image:
For longer texts, the problem is even worse.
Any Idea what could cause this problem?
Thanks in advance
walter
#2
Do you have the same behavior in different browsers or on different types of hardware or platforms?
simon
#3
Are you using any custom fonts?
What happens if you remove all CSS from your page?
This works as Iād expect: Edit fiddle - JSFiddle - Code Playground
1 Like
eta
#4
Actually, it seems like I only have this problem with Chromium (Chrome / Vivaldi). Within Firefox and Safari, everything looks ok.
Firefox / Safari:

Chromium:

walter
#5
Does the problem go away in Chrome when using GoJS v2.3.7?