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

Bug 352186

Summary: [Theming] Enhance Scale theming
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: nmussin
Version: 1.4   
Target Milestone: 3.0 M4   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2011-07-15 04:48:43 EDT
There is a lot of room for Scale theming enhancement:
1. add background-image property (gradient) to Scale and Scale-Thumb( ??? currently the thumb is Image widget ).
2. add border, border-radius for Scale-Thumb( ??? currently the thumb is Image widget ).
3. add HORIZONTAL/VERTICAL style to both Scale and Scale-Thumb.
4. make the ruler images themeable.
5. make the thumb images themeable ( ??? currently the thumb is Image widget ).
6. add hover state for the thumb.
If it help us for more flexible styling we can consider to change the client side thumb implementation from Image to BasicButton (like in Slider).
Comment 1 Ivan Furnadjiev CLA 2011-09-28 05:15:19 EDT
Changed scale thumb client-side widget to BasicButton. Added themable properties border and border-radius. Removed unused tumb images.
Comment 2 Nick Mussin CLA 2011-10-11 06:22:22 EDT
Further enhancements proposal:

(maybe) introduce a "Scale-Rail" element in Scale.theme.xml to make the "rail" of the Scale themable:

- at least, make the background-image of the rail exchangeable. 

- better: add background-image, background-color, border, border-radius and box-shadow (including "inset" keyword)



Also, further extend Scale-Thumb:
add background-image to enable pattern images and gradients
Comment 3 Nick Mussin CLA 2011-10-11 06:25:53 EDT
...add height and width to Scale-Thumb, as well.
Comment 4 Ivan Furnadjiev CLA 2011-11-01 04:32:10 EDT
We decided to remove the ruler markers completely. Changes are in CVS HEAD.
Comment 5 Ivan Furnadjiev CLA 2014-12-10 06:06:11 EST
Fixed with change https://git.eclipse.org/r/#/c/37460/.