Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318349 - [CLabel] setBackground( Color[] colors, int[] percents ) is missing
Summary: [CLabel] setBackground( Color[] colors, int[] percents ) is missing
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.4 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 332929
Blocks:
  Show dependency tree
 
Reported: 2010-06-29 11:52 EDT by Benjamin Muskalla CLA
Modified: 2010-12-21 07:30 EST (History)
0 users

See Also:


Attachments

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