-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
I came across a very specific scenario which causes Spinner text color to change into wrong color.
Here is the code to reproduce it:
public class Test extends Application {
public void start(Stage stage) throws IOException {
TabPane tabPane1 = new TabPane(new Tab("Tab1", new Spinner<>(0, 10, 5)));
TabPane tabPane2 = new TabPane(new Tab("Tab1"), new Tab("Tab2"));
VBox vbox = new VBox(tabPane1, tabPane2);
Scene scene = new Scene(vbox);
stage.setScene(scene);
new JMetro(scene, Style.DARK);
stage.show();
}
}
If you run the above code, initially it shows correct color for spinner text (white):
But if you click on Tab2
then the color of spinner text changes from white to black:
Metadata
Metadata
Assignees
Labels
No labels