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

Bug 318349

Summary: [CLabel] setBackground( Color[] colors, int[] percents ) is missing
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.3   
Target Milestone: 1.4 M5   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 332929    
Bug Blocks:    

Description Benjamin Muskalla CLA 2010-06-29 11:52:34 EDT
CLabel supports gradients out-of-the-box. We should try to support this API with the GraphicsAdapter instead.

setBackground(Color[] colors, int[] percents) 
setBackground(Color[] colors, int[] percents, boolean vertical) 

We may need to wait for horizontal gradients (see bug 313034) until we can implement the API according to the contract.
Comment 1 Ivan Furnadjiev CLA 2010-12-21 07:30:08 EST
Fixed in CVS HEAD.