| Summary: | Enable custom variant support for Table-GridLine | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Georg Breitschopf <georg.breitschopf> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ivan |
| Version: | 3.0 | ||
| Target Milestone: | 3.2 M3 | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309004 https://git.eclipse.org/r/#/c/84211/ https://bugs.eclipse.org/bugs/show_bug.cgi?id=529727 |
||
| Whiteboard: | |||
|
Description
Georg Breitschopf
For clarification: The custom variant is not inherited by the Table, neither for TableItem or Table-GridLine. Fixed with change https://git.eclipse.org/r/#/c/84211/ Can confirm that custom variants work for Table-GridLine. However, the color of the vertical grid line is overwritten when a row is selected (or on hover). Maybe it is related to your style sheet. You have to define your selectors for horizontal/vertical lines with custom variant. If you think that this is a bug, please open a bugzilla and attach a demo project (with style sheet) that demonstrates the issue. Thanks for the hint. Unfortunately, defining a custom variant for both vertical and horizontal lines did not work either. I will re-test this issue in a demo project and open a new ticket if necessary. Now I was able to reproduce the problem in an demo project.
If a table row overlay is defined the grid lines disappear.
Example:
Table-RowOverlay:hover {
background-color: #ddeeff;
}
In RAP 3.0 this overlay had no effect on grid lines.
|