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")); FXMLLoader loader = new FXMLLoader(getClass().getResource("/visualiser/scenes/main.fxml"));
Parent root = loader.load(); Parent root = loader.load();
stage.setResizable(false); // stage.setResizable(false);
MainController mc = (MainController) loader.getController(); MainController mc = (MainController) loader.getController();
mc.enterTitle(); mc.enterTitle();
Scene scene = new Scene(root); Scene scene = new Scene(root);

@ -27,8 +27,8 @@
/* Fix derived prompt color for text fields */ /* Fix derived prompt color for text fields */
.text-input { .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) */ /* Keep prompt invisible when focused (above color fix overrides it) */

@ -27,7 +27,8 @@
/* Fix derived prompt color for text fields */ /* Fix derived prompt color for text fields */
.text-input { .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