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

Bug 343032

Summary: [Theming] Add gradient to Text and Text-like widgets
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: tbuschto
Version: 1.4   
Target Milestone: 1.4 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2011-04-16 06:37:50 EDT
Text, Spinner, ComboBox and DateTime text-fields are among the last widgets that have a really flat 2d-look. Ideally they would have an inset shadow, but those are not supported (yet) in RAP. The next best thing would be a gradient like this:

Text[BORDER][SINGLE] {
  background-image: gradient(
    linear, left top, left bottom,
    from( #dadada ),
    color-stop( 25%, #fcfcfc ),
    to( #fcfcfc )
  );
}
Comment 1 Tim Buschtoens CLA 2011-04-17 12:59:14 EDT
Fixed in CVS HEAD. All themes but classic now use gradients for text-widgets.