Added: Leaderboard FXML Scene
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
|
||||
<StackPane xmlns="http://javafx.com/javafx"
|
||||
xmlns:fx="http://javafx.com/fxml"
|
||||
fx:controller="it.polimi.ingsw.gc14.View.GUI.LeaderboardFXMLController"
|
||||
fx:id="rootPane"
|
||||
prefWidth="1280"
|
||||
prefHeight="720">
|
||||
|
||||
<!-- Overlay scuro semitrasparente sopra il background -->
|
||||
<Region style="-fx-background-color: rgba(0,0,0,0.45);"/>
|
||||
|
||||
<!-- Contenuto centrato -->
|
||||
<VBox fx:id="mainVBox" alignment="CENTER" spacing="32">
|
||||
<padding><Insets top="50" right="120" bottom="50" left="120"/></padding>
|
||||
|
||||
<!-- Lista giocatori (Winner/GameOver label aggiunta da render()) -->
|
||||
<VBox fx:id="rankingList" alignment="CENTER" spacing="16"/>
|
||||
|
||||
<!-- Bottone nuova partita -->
|
||||
<Button fx:id="newGameButton" text="NUOVA PARTITA"
|
||||
styleClass="action-button"
|
||||
onAction="#onNewGame"/>
|
||||
</VBox>
|
||||
|
||||
</StackPane>
|
||||
Reference in New Issue
Block a user