Assuming SoMa = 1.3 (still in Unreleased Versions)
Playing a bit with the StyleEditor http://www.javafx.com/samples/StyleEditor/index.html I wanted to restore default border of TextBox so I put:
.text-box
{
-fx-background: -fx-text-box-border;
}
in the custom stylesheet.
The application stopped to react to my mouse clicks, except for some controls (ChoiceBox of styles).
I found out that -fx-text-box-border was using -fx-background in its definition. I don't know if that's the issue, but it looks like a recursive CSS definition can lead to some kind of infinite loop.
Playing a bit with the StyleEditor http://www.javafx.com/samples/StyleEditor/index.html I wanted to restore default border of TextBox so I put:
.text-box
{
-fx-background: -fx-text-box-border;
}
in the custom stylesheet.
The application stopped to react to my mouse clicks, except for some controls (ChoiceBox of styles).
I found out that -fx-text-box-border was using -fx-background in its definition. I don't know if that's the issue, but it looks like a recursive CSS definition can lead to some kind of infinite loop.
- duplicates
-
JDK-8124122 crash with CSS for ProgressBar
-
- Closed
-