Added background color to spell checker demo. Fixed order of shapes s…#408
Added background color to spell checker demo. Fixed order of shapes s…#408TomasMikula merged 1 commit intoFXMisc:masterfrom
Conversation
…o that underlines are shown even if a background shape is used.
|
@afester the fix has the side effect that the underlines are now painted over the text (e.g. if text contains "gyqp" characters) I think it would better to use: getChildren().add(1, underlineShape);Then the underlines are painted over the background, but under the text. |
|
@JFormDesigner I know - but is that not the expected behavior? For example, Eclipse paints the spell checking line over the text: and MS Word shows the same behavior. Anyway, |
|
@afester OK, sorry, you're right. It's better to have the underlines paint over all other, especially the text selection. |
|
👍 |

Fix for issue #407:
Added background color to spell checker demo.
Fixed order of shapes so that underlines are shown even if a background shape is used.