kasemir / org.csstudio.display.builder

Update of org.csstudio.opibuilder.*
Eclipse Public License 1.0
2 stars 10 forks source link

Added "foreground" property to CheckBox and Image. #470

Closed claudio-rosati closed 5 years ago

claudio-rosati commented 5 years ago

CheckBox and Image widgets always drawn text in black, and when the background is dark it is difficult if not impossible to read. This PR fixes it.

@kasemir I've put a comment for you starting with // CR: because I'm not sure if the following statement is needed or not.

screenshot 2018-11-26 at 14 25 40
kasemir commented 5 years ago

I think it just needs to request a redraw with the new color, not a new layout since font etc. didn't change to affect the layout.

claudio-rosati commented 5 years ago

Thank you