-
Notifications
You must be signed in to change notification settings - Fork 236
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
Background on a text #295
Comments
Yes, it is possible: .foo {
-fx-background-fill: #efefef;
} It is named |
Thanks ;) |
Is it possible to set the background colour for the entire line - such that the colour extends all the way to the edge of the view, even if the text doesn't? I want to mark the entire line with a different background colour to highlight special cases, like lines with errors, or sections of file that were inserted or removed , commented out sections etc. |
It is possible with the snapshot release, where, in addition to setting style for a range of text, you can set style for the whole paragraph (setParagraphStyle). |
Hello,
I managed to shed fat and add a color on a piece of text in my
StyleClassedTextArea
, but I would love to put abackground
, but it does not work. Is it possible to do this?Thank you !
The text was updated successfully, but these errors were encountered: