| Summary: | StyledCellLabelProvider ignores fontStyle parameter of StyleRange | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Singer <eclipse> | ||||
| Component: | UI | Assignee: | Sebastian Ratz <sebastian.ratz> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | andreas.r.fischl.work, ma.becker, sebastian.ratz | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 4.18 M3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| See Also: |
https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170648 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7f1bbae80300f5d01c9155f59a3a2ddd497152d1 |
||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Thomas Singer
Created attachment 198394 [details]
Test case
This seems to be a duplicate of bug 131988 (colors are fine; fontStyle works with a LineStyleListener but not with a StyledCellLabelProvider). This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. Reopening this. StyledText / StyledTextRenderer (in swt.custom) supports already this by dynamically creating Font objects based on fontStyle. StyledCellLabelProvider (in jface) should too. It can be implemented in a very similar fashion. Having this would make it *much* easier to implement light-weight StyleRanges that can be re-used and dynamically work even after font size settings in preferences are changed. New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170648 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170648 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7f1bbae80300f5d01c9155f59a3a2ddd497152d1 (In reply to Eclipse Genie from comment #6) > Gerrit change > https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170648 was merged > to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/ > ?id=7f1bbae80300f5d01c9155f59a3a2ddd497152d1 Thanks Sebastian for fixing. Can this bug be closed? |