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

Bug 256653

Summary: Extend themeability of widgets
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Ivan Furnadjiev <ivan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pkendall64
Version: 1.2Keywords: plan
Target Milestone: 1.2 M4   
Hardware: All   
OS: All   
Whiteboard: plan-theme=web-features plan-status=committed

Description RĂ¼diger Herrmann CLA 2008-11-26 10:24:18 EST
Now as the CSS theming work is almost complete, we should extend the themeability of widgets. 
It should be able to influence the following visual aspects via CSS:
* Sash: handle-image (as bg-image)
* Dialog: images (Display#getSystemImage)
* Combo: drop-down-button image
* CoolBar: handle image
* DateTime: prev/next button images
* ExpadBar: min/max buttons
* TabFolder: margins, border
* CTabFolder: border color
* Spinner: up/down button images
* ToolItem: border, drop-down image, separator
* Menu: cascade image, check- and radio image
* Table and Tree: check-box image
Comment 1 Paul Kendall CLA 2008-12-02 15:01:47 EST
It would also be good to have pseudo classes for the disabled and focused states of buttons, combos, text fields and other input widgets. This would be similar to the current pressed, selected and hover states.
Comment 2 Ivan Furnadjiev CLA 2008-12-03 14:19:38 EST
The themeability of the following widgets is extended. Changes are in CVS HEAD.
* DateTime: prev/next button images
* ExpadBar: min/max buttons
* CTabFolder: border color
* Spinner: up/down button images
Comment 3 Ivan Furnadjiev CLA 2008-12-03 17:15:24 EST
Added
* Table and Tree: check-box image
Comment 4 Ivan Furnadjiev CLA 2008-12-05 03:41:54 EST
Added
* Combo: drop-down-button image
Comment 5 Ivan Furnadjiev CLA 2008-12-08 11:14:50 EST
Added
* Sash: handle-image
Comment 6 Ivan Furnadjiev CLA 2008-12-09 05:52:07 EST
Sash handle image is now visible in slider area too. In the default theme there is no handle image.
Comment 7 Ivan Furnadjiev CLA 2008-12-10 02:25:13 EST
Added
* Menu: cascade image, check- and radio image
Comment 8 Ivan Furnadjiev CLA 2008-12-12 09:30:59 EST
Added
* CoolItem: handle
there are 2 themeable properties defined: border and width.
The "width" property still not in use on the server side for CoolItem control location calculation.
Comment 9 Ivan Furnadjiev CLA 2008-12-12 10:51:28 EST
Added
* TabFolder: border
The color of the top/bottom (depends on TabFolder style flag SWT.TOP/SWT.BOTTOM) border of selected TabItem is themeable.
Comment 10 Ivan Furnadjiev CLA 2008-12-15 02:42:03 EST
Added
* Combo: border 
Comment 11 Ivan Furnadjiev CLA 2008-12-16 04:07:37 EST
The extension of themeability is done.