Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Multi-Line Tooltip
Multi-Line Tooltip [message #88090] Fri, 16 May 2008 15:36 Go to next message
Maximilian Falkenstein is currently offline Maximilian FalkensteinFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,

I'm using the Control#setToolTipText(String) function to set a tool tip
for a Button. My ToolTipMessage is long, so how can I add a line break?
I've tried \n and <br />, but nothing works.

Regards,

Max
Re: Multi-Line Tooltip [message #88109 is a reply to message #88090] Fri, 16 May 2008 15:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: evolanakis.innoopract.com

Hi Max,

button.setToolTipText("hi there\nthis is line2");

should work (at least it does in RCP).

If this is not the case in RAP, can you open a bug for it?

Thanks,
Elias.



Maximilian Falkenstein wrote:
> Hi,
>
> I'm using the Control#setToolTipText(String) function to set a tool tip
> for a Button. My ToolTipMessage is long, so how can I add a line break?
> I've tried \n and <br />, but nothing works.
>
> Regards,
>
> Max


--
---
Elias Volanakis
Innoopract, Inc.
http://www.innoopract.com
Re: Multi-Line Tooltip [message #88153 is a reply to message #88109] Fri, 16 May 2008 17:10 Go to previous messageGo to next message
Maximilian Falkenstein is currently offline Maximilian FalkensteinFriend
Messages: 9
Registered: July 2009
Junior Member
Hi Elias,

it doen't work in RAP, so I've just submitted a bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232543

Regards,

Max

Elias Volanakis schrieb:
> Hi Max,
>
> button.setToolTipText("hi there\nthis is line2");
>
> should work (at least it does in RCP).
>
> If this is not the case in RAP, can you open a bug for it?
>
> Thanks,
> Elias.
>
>
>
> Maximilian Falkenstein wrote:
>> Hi,
>>
>> I'm using the Control#setToolTipText(String) function to set a tool
>> tip for a Button. My ToolTipMessage is long, so how can I add a line
>> break?
>> I've tried \n and <br />, but nothing works.
>>
>> Regards,
>>
>> Max
>
>
Re: Multi-Line Tooltip [message #88168 is a reply to message #88153] Fri, 16 May 2008 17:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Maximilian Falkenstein wrote:
> Hi Elias,
>
> it doen't work in RAP, so I've just submitted a bug report:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=232543

This one was simple. Fixed.

Cheers,
Ralf
Re: Multi-Line Tooltip [message #88193 is a reply to message #88168] Sat, 17 May 2008 18:05 Go to previous message
Maximilian Falkenstein is currently offline Maximilian FalkensteinFriend
Messages: 9
Registered: July 2009
Junior Member
It works fine. Thank you.

Ralf Sternberg schrieb:
> This one was simple. Fixed.
>
> Cheers,
> Ralf
Previous Topic:RAP in Tomcat strange Problem with IE
Next Topic:Shell Title Background
Goto Forum:
  


Current Time: Thu Apr 25 00:18:49 GMT 2024

Powered by FUDForum. Page generated in 0.03926 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top