mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
- Added Values to Finish Dialog.
Tags: #story[1245]
This commit is contained in:
@@ -30,8 +30,8 @@ public class FinishDialogController implements Initializable {
|
||||
|
||||
public void setFinishedBoats(ArrayList<ClientYacht> finishedBoats) {
|
||||
finishersList.getItems().clear();
|
||||
for (ClientYacht yacht : finishedBoats) {
|
||||
finishersList.getItems().add(new Label(yacht.getBoatName()));
|
||||
for (int i = 0; i < finishedBoats.size(); i++) {
|
||||
finishersList.getItems().add(new Label(Integer.toString(i+1) +". " + finishedBoats.get(i).getBoatName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#raceFinishLabel {
|
||||
-fx-font-size: 23px !important;
|
||||
-fx-text-fill: -fx-pp-dark-text-color;
|
||||
}
|
||||
|
||||
#finishersList {
|
||||
|
||||
}
|
||||
|
||||
#playAgain {
|
||||
-fx-background-color: -fx-pp-theme-color;
|
||||
-fx-text-fill: -fx-pp-light-text-color;
|
||||
-fx-font-size: 20px !important;
|
||||
-fx-effect: -fx-pp-dropshadow-dark;
|
||||
-fx-min-width: 130px;
|
||||
}
|
||||
|
||||
#playAgain:hover {
|
||||
-fx-font-size: 23px !important;
|
||||
-fx-background-color: -fx-pp-light-theme-color;
|
||||
}
|
||||
@@ -35,7 +35,7 @@
|
||||
</GridPane>
|
||||
</children>
|
||||
<stylesheets>
|
||||
<String fx:value="/css/dialogs/BoatCustomize.css"/>
|
||||
<String fx:value="/css/dialogs/FinishScreen.css"/>
|
||||
<String fx:value="/css/Master.css"/>
|
||||
</stylesheets>
|
||||
</JFXDialogLayout>
|
||||
|
||||
Reference in New Issue
Block a user