textfields now show better colour that contrasts more

#story[1087]
main
hba56 9 years ago
parent 7fafddcf50
commit 59058da09c

@ -37,7 +37,7 @@ public class App extends Application {
});
FXMLLoader loader = new FXMLLoader(getClass().getResource("/visualiser/scenes/main.fxml"));
Parent root = loader.load();
stage.setResizable(false);
// stage.setResizable(false);
MainController mc = (MainController) loader.getController();
mc.enterTitle();
Scene scene = new Scene(root);

@ -27,8 +27,8 @@
/* Fix derived prompt color for text fields */
.text-input {
-fx-prompt-text-fill: derive(-fx-control-inner-background, +50%);
-fx-prompt-text-fill: derive(-fx-control-inner-background, +0%);
-fx-background-color: #a9a9a9 , black , black;
}
/* Keep prompt invisible when focused (above color fix overrides it) */

@ -27,7 +27,8 @@
/* Fix derived prompt color for text fields */
.text-input {
-fx-prompt-text-fill: derive(-fx-control-inner-background, +50%);
-fx-prompt-text-fill: derive(-fx-control-inner-background, +0%);
-fx-background-color: #a9a9a9 , white , white;
}

Loading…
Cancel
Save