Bug 256653 - Extend themeability of widgets
Summary: Extend themeability of widgets
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.2 M4   Edit
Assignee: Ivan Furnadjiev CLA
QA Contact:
URL:
Whiteboard: plan-theme=web-features plan-status=c...
Keywords: plan
Depends on:
Blocks:
 
Reported: 2008-11-26 10:24 EST by Rüdiger Herrmann CLA
Modified: 2009-01-28 11:52 EST (History)
1 user (show)

See Also:


Attachments

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