-
Notifications
You must be signed in to change notification settings - Fork 227
Disable gradients in Form by default #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable gradients in Form by default #121
Conversation
|
Will I be seeing this change in my IDE or is it something coming from the theme? |
|
Open plugin.xml editor and enjoy. |
| // Examples: Win High Con Black, Win High Con #1, Win High Con #2 | ||
| // (covered in the second part of the OR clause above) | ||
| createColor(IFormColors.TITLE, rgb); | ||
| createColor(IFormColors.TITLE, getSystemColor(SWT.COLOR_TITLE_FOREGROUND)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even nicer and more consistent with the OS systems would IMHO be to use a gray color as background, not sure if we have a good constant for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The palette is visible running SWT's ControlExample in the "Colors" tab. There are the COLOR_WIDGET_*_SHADOW to serve this. I personally don't mind about which exact color we pick, as long as it's readable, it's a system color and gradients are off by default. So please give a try and suggest a color and I can update.
Default color for Forms are changed so that gradients are removed, system colors are used.
01bd308 to
9ca6051
Compare
|
@vogella I have changed to use COLOR_WIDGET_LIGHT_SHADOW instead. |
Can you add a screenshot? |
With #121 form default L&F has been updated to have no gradient anymore.
…form#121) Signed-off-by: azerr <azerr@redhat.com> Signed-off-by: azerr <azerr@redhat.com> Co-authored-by: azerr <azerr@redhat.com>






Default color for Forms are changed so that gradients are removed,
system colors are used.