Community
Participate
Working Groups
We need a callback that can be registered to determine when the system colours have changed so that any widget that does not use the default colours can update.
Hm... If the widget is not using the default colors then it doesn't need to update, does it? :-P The current model is that if you are using the system colors, then it will happen for you for free. If not, then you could presumably hook a paint listener on a widget which *was* using the system colors and watch for the change to occur. (Note: This is obviously hokey.) If this is critical, we can provide it, although likely not on all platforms.
The issue here is with widgets that set thier background colour to SWT.COLOR_LIST_BACKGROUND. When the user changes the window preferences so that the list background colour changes these widgets are not updated. This is a low priority problem for us however.
*** This bug has been marked as a duplicate of 13813 ***