Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325736 - Program setting of rounded borders does not work
Summary: Program setting of rounded borders does not work
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: Demo (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 07:19 EDT by Ivan Furnadjiev CLA
Modified: 2010-09-22 09:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.)