|
Re: Tool tip label allways shows ELLIPSIS [message #184097 is a reply to message #184019] |
Fri, 10 June 2005 19:47 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
On Linux? That's probably because of this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=94523
If you're seeing this on Windows as well, open a new bug report against GEF.
If you can provide a small snippet showing the problem in the Draw2d label
that would be great.
"Steve Jones" <steve@istech.demon.co.uk> wrote in message
news:d89b27$qie$1@news.eclipse.org...
> Hi,
>
> I'm running eclipse/GEF 3.1M7.
>
> I use standard labels for tool tips. The tooltip displays as expected and
> shows 99% of the text but it's allways ends with '...'.
>
> Looking at Label#getSubStringText() at line:
>
> int widthShrink = getPreferredSize().width - getSize().width;
>
> widthShrink is allways 2, ie the prefarred width is two greater that the
> bounds. This results in the text being clipped and ellipses being added.
>
> I've just run up the red book Workflow Model demo (SAL330) and it's tool
> tips show the same problem.
>
> Any ideas?
>
> Steve.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02937 seconds