Summary: | TabbedPropertyList tabs don't update color as set in the CSS file until focus is gained | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Phil Beauvoir <p.beauvoir> | ||||||||
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||
Status: | NEW --- | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | philippe.dul | ||||||||
Version: | 4.10 | ||||||||||
Target Milestone: | --- | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 10 | ||||||||||
See Also: |
https://git.eclipse.org/r/160709 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=348af87b4875b9835552ff22e91e8cead44abfe9 |
||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Phil Beauvoir
2019-03-09 13:17:57 EST
Created attachment 277813 [details]
Screenshot shows first edit part selected - correct
Created attachment 277814 [details]
Screenshot shows second edit part selected - incorrect
My theory is that TabbedPropertyList is rendering the tabs before TabbedPropertyList#setWidgetNormalShadowColor() has been called. But setting the focus on the Tabbed Property View corrects this. A workaround is to call reskin() on TabbedPropertyComposite#getList() (TabbedPropertyList) after creating the controls in an AbstractPropertySection New Gerrit change created: https://git.eclipse.org/r/160709 Created attachment 282396 [details]
Initial-color-is-gray
Gerrit change https://git.eclipse.org/r/160709 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=348af87b4875b9835552ff22e91e8cead44abfe9 |