Re: multiline tooltips

daniel <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Am 18.07.2012 09:34, schrieb Shibu Narayanan:
> Is it possible to have multiline tooltips in XUL/javascript?

Yes, just use a string with a line break,
like "Hello world\r\nThis is a newline"

For more advanced tooltips you can also use the tooltip element, which 
gives you more control about what should be displayed:

https://developer.mozilla.org/en/XUL/PopupGuide/Tooltips#The_tooltip_element

Daniel Käs

> -Shibu Narayanan
> _______________________________________________
> dev-tech-xul mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-xul
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.