Community
Participate
Working Groups
Build Identifier: 1.4.0.20110614-2335 The image stays empty. I would expect that there is an arrow down in the button, if the style is SWT.ARROW | SWT.DOWN. Reproducible: Always Steps to Reproduce: 1. Create a button with style SWT.ARROW | SWT.DOWN
I don't think this is an enhancement, because in a single source environment, this style does not work on RAP, but it works on RCP. Though there is a workaround: not using this flag, but setting an image
I'm sorry, I missed that the style flag ARROW is already available in RAP. However, arrow buttons are not yet supported by the Button implementation. I don't remember how the style flag slipped in. Now it seems we'll have to support it ;-)
Most of the support for SWT.ARROW is already part of the RWT Button class. The only thing that is missing, is the drawing of an image. The win32 implementation of SWT Button uses the flag OWNERDRAW to accomplish that. In RWT an image might be a solution.
Andreas, if you already have an idea how to solve this issue, would you like to provide a patch?
Since a simple workaround exists we regard this bug as low priority.
Fixed in CVS HEAD.