SWT.ARROW | SWT.DOWN on Button doesn't work [message #808851] |
Tue, 28 February 2012 03:08  |
Eclipse User |
|
|
|
Hi again, as planned I adopted the nebula TableCombo widget to RWT yesterday night. I had to strip out some events, but basic functionality is working.
The TableCombo widget renders a button with SWT.ARROW|SWT.DOWN that doesn't work on rap. Any ideas how I can get a similar Button on RAP that will work on the desktop too? I tried with a Image, but that gives me borders on that Button and makes the widget grow too large.
Regards
Thomas
|
|
|
Re: SWT.ARROW | SWT.DOWN on Button doesn't work [message #808895 is a reply to message #808851] |
Tue, 28 February 2012 04:02  |
Eclipse User |
|
|
|
Hi Thomas,
this is a known issue:
351316: [Button] SWT.ARROW exists but is unsupported
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351316
The workaround is to set an image on the button.
HTH,
Ivan
On 2/28/2012 10:08 AM, Thomas Kratz wrote:
> Hi again, as planned I adopted the nebula TableCombo widget to RWT
> yesterday night. I had to strip out some events, but basic
> functionality is working.
>
> The TableCombo widget renders a button with SWT.ARROW|SWT.DOWN that
> doesn't work on rap. Any ideas how I can get a similar Button on RAP
> that will work on the desktop too? I tried with a Image, but that
> gives me borders on that Button and makes the widget grow too large.
>
> Regards
> Thomas
>
>
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.04171 seconds