|Re: Focus rectangle is not drawn in 3.3 [message #238647 is a reply to message #238442]
||Tue, 25 September 2007 21:04
Originally posted by: aczerwonka.3esi.com|
We just put a label inside a figure.
"Felix L J Mayer" <firstname.lastname@example.org> wrote in message
>I have reused the SelectableLabel from the Ediagram example to draw a focus
>rectangle around some text. This worked perfectly well until Eclipse 3.3,
>when the rectangle suddenly disappeared. I debugged it down to the method
> org.eclipse.swt.graphics.GC.drawFocus (int x, int y, int width, int
> which on the second line has this check:
> if ((data.uiState & OS.UISF_HIDEFOCUS) != 0) return;
> In the debugger I could see that data.uiState is always 3, so drawFocus()
> always exits without doing anything. Is there something I can do in GEF to
> bring the focus rectangle back or should I talk to the SWT folks?
Powered by FUDForum
. Page generated in 0.02685 seconds