Hi Tushar,

The default tooltip provided by the component does not support multi-line 
tooltips. Ensuring that tooltips always remain visible is actually a to-do for 
Pivot 1.4.1:

http://issues.apache.org/jira/browse/PIVOT-23

However, you could potentially create an instance of Tooltip yourself. With a 
small modification we get the tooltip text to wrap. However, your application 
code would be responsible for showing, hiding, and positioning the tooltip. If 
this would be sufficient, I can suggest some code you might use to accomplish 
it.

Greg

On Jan 23, 2010, at 8:41 PM, Tushar Kale wrote:

> Hello:
> 
> I need to show multi-line tool tip on an image and control the horizontal 
> position of the tool tip window when it is displayed. 
> If the image is close to the window border, I would like to shift the tool 
> tip window so complete tool tip is visible.
> 
> Is there a way to access component's tool tip window and set its location? 
> I tried to use \n in the text string but that is ignored.
> What is the best way to achieve this?
> Thanks!
> 
> ~ Tushar

Reply via email to