|
@@ -60,7 +60,7 @@ public class CalcSkin extends Application {
|
60
|
60
|
private VBox createLayout(TextField screen, TilePane buttons) {
|
61
|
61
|
final VBox layout = new VBox(20);
|
62
|
62
|
layout.setAlignment(Pos.CENTER);
|
63
|
|
- layout.setStyle("-fx-background-color: silver; -fx-padding: 20; -fx-font-size: 20;");
|
|
63
|
+ layout.setStyle("-fx-background-color: gold; -fx-padding: 20; -fx-font-size: 20;");
|
64
|
64
|
layout.getChildren().setAll(screen, buttons);
|
65
|
65
|
handleAccelerators(layout);
|
66
|
66
|
screen.prefWidthProperty().bind(buttons.widthProperty());
|
|
@@ -81,7 +81,7 @@ public class CalcSkin extends Application {
|
81
|
81
|
|
82
|
82
|
private TextField createScreen() {
|
83
|
83
|
final TextField screen = new TextField();
|
84
|
|
- screen.setStyle("-fx-background-color: aquamarine;");
|
|
84
|
+ screen.setStyle("-fx-background-color: green;");
|
85
|
85
|
screen.setAlignment(Pos.CENTER_RIGHT);
|
86
|
86
|
screen.setEditable(false);
|
87
|
87
|
screen.textProperty().bind(Bindings.format("%.0f", currentValue));
|