Chris Cruzdal wrote:

Hi,

I was wondering whether the format of tooltips which
are displayed upon presence of <title></title> and
<description></description> tags can be ajusted.

If you turn on 'xml:space="preserve"' then newlines in the title/desc tag will be preserved.

  If you want to automatic wrapping then the actual
'construction' of the Tooltip is accomplished in:

batik.swing.JSVGCanvas.CanvasUserAgent.handleElement

and

batik.swing.JSVGCanvas.CanvasUserAgent.toFormattedHTML

The situation is the following: The SVG files to be
displayed are in this case generated automatically
from a database and they include, at times, tooltips
which can exceed a few words (and have maybe two,
three sentences of text). Then, the tooltip basically
expands horizontally and, in the worst case, does this
over the whole screen. Is it possible to (a) control
this behavior such that tooltips autmatically expand
vertically, if their dimensions would reach a certain
threshold, or (b) to control linebreaks within the tag
content?

Thanks for any input.

Chris
--
Chris Cruzdal

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to