Skip to content

Ignored color theme #259

@jukzi

Description

@jukzi

Some colors are directly set ignoring the color theme but using the system colors..
Example: AutoSave Preference Page
image

The pattern used is like
widget.setForeground(display.getSystemColor(SWT.COLOR_WIDGET_FOREGROUND))
There are ~ 500 lines like "display.getSystemColor(" in the code.
What would be a good pattern to replace that with themed colors?
i.e does any method like ~ getThemeColor(SWTCOLOR_constant) exist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions