Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Tooltip with line break in Vaadin

Jan Reinartz
3 years ago Nov 19, 2019 12:18pm

Hi, is it possible to write a tooltip with line break? I tried something like that:

myELement.setAttribute("title", "line \n break");

or

myELement.setAttribute("title", "line &#013 break");

In a basic Html file title="line &#013 break" works fine (in Chrome).

Jan

Kaspar Scherrer
3 years ago Nov 19, 2019 12:24pm
Jan Reinartz
3 years ago Nov 20, 2019 9:20am
Kaspar Scherrer
3 years ago Nov 20, 2019 11:33am
Jan Reinartz
3 years ago Nov 20, 2019 1:16pm