| Summary: | [List] Make border for focused item themable | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | RĂ¼diger Herrmann <ruediger.herrmann> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
RĂ¼diger Herrmann
Created attachment 145121 [details]
Proposed patch
This patch do the following:
1. Add and register a new class org.eclipse.swt.widgets.ListItem (subclass of qx.ui.form.ListItem) that:
- defines new property "outline"
- overrides handleStateChange() method
2. Define new css property "outline" for List-Item of type border ( List.theme.xml and List.default.css).
3. Apply the css value in the AppearanceBase.js "list-item".
The dafault value is "1px dotted". To remove the outline use "0px none". Outline color is supported too "1px dotted red". Note that the "outline" property is not supported by IE.
Ralf, Ruediger please revise.
The "outline" style property is not supported by IE and this border is missing in IE. We decided to omit the focused item outline border in all browsers. Changes are in CVS HEAD. |