Skip to content

Commit 15176d9

Browse files
authored
Merge pull request #18 from WhitmanSWDesignSpring2017/pleaseWork
CSS file populated
2 parents 9ceb984 + 4b40330 commit 15176d9

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/scaleplayer/ScalePlayer.fxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
<center>
3030
<HBox alignment="CENTER" prefHeight="371.0" prefWidth="358.0" style="-fx-spacing: 20;" BorderPane.alignment="CENTER">
3131
<children>
32-
<Button fx:id="startButton" alignment="CENTER" mnemonicParsing="false" onAction="#handleStartClick" pickOnBounds="false" style="-fx-background-color: lightgreen; -fx-border-color: green;" text="Start Playing" />
33-
<Button fx:id="closeButton" alignment="CENTER" mnemonicParsing="false" onAction="#handleStopClick" style="-fx-background-color: pink; -fx-border-color: red;" text="Stop Scale" />
32+
<Button id = "startButton" fx:id="startButton" alignment="CENTER" mnemonicParsing="false" onAction="#handleStartClick" pickOnBounds="false" text="Start Playing" />
33+
<Button id = "closeButton" fx:id="closeButton" alignment="CENTER" mnemonicParsing="false" onAction="#handleStopClick" text="Stop Scale" />
3434
</children>
3535
</HBox>
3636
</center>
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
/*
22
* Empty Stylesheet file.
33
*/
4-
5-
.mainFxmlClass {
6-
4+
#closeButton {
5+
-fx-background-color: pink;
6+
-fx-border-color: red;
7+
}
8+
#startButton {
9+
-fx-background-color: lightgreen;
10+
-fx-border-color: green;
711
}

0 commit comments

Comments
 (0)