Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325736

Summary: Program setting of rounded borders does not work
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: DemoAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.3   
Target Milestone: 1.4 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2010-09-20 07:19:25 EDT
Steps to reproduce:
1. Start Controls Demo -> Composite/Canvas Tab
2. Set "Rounded border" parameters.
3. Click on "Set" button -> no rounded border at all, but the javascript has been rendered to the client:
var wm = org.eclipse.swt.WidgetManager.getInstance();
wm.setRoundedBorder( wm.findWidgetById( "w153" ), 2, "#f7f7fb", 3, 3, 3, 3 );
Reproducible with 1.3.1 maintenance and CVS HEAD, FF, IE8, Chrome, Safari.
More info:
If you set the background color on the composite you will see that the rounded border is there but it is transparent (not visible).
Comment 1 Tim Buschtoens CLA 2010-09-22 09:25:17 EDT
Fixed in CVS HEAD.

(It was a bug in the demo, not the framework.)