|
Re: Focus rectangle is not drawn in 3.3 [message #238557 is a reply to message #238442] |
Wed, 19 September 2007 15:28 |
Eclipse User |
|
|
|
Originally posted by: none.ibm.com
Sounds like a breaking change in SWT.
"Felix L J Mayer" <felix.mayer@objectaid.com> wrote in message
news:fc4al7$tbi$1@build.eclipse.org...
>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
> height)
> 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?
>
|
|
|
Re: Focus rectangle is not drawn in 3.3 [message #238647 is a reply to message #238442] |
Tue, 25 September 2007 21:04 |
Eclipse User |
|
|
|
Originally posted by: aczerwonka.3esi.com
We just put a label inside a figure.
"Felix L J Mayer" <felix.mayer@objectaid.com> wrote in message
news:fc4al7$tbi$1@build.eclipse.org...
>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
> height)
> 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.03021 seconds