Style: the boxes for the opponents should have a working hover effect.
This commit is contained in:
@@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- Main container: Links the UI to the CasinoGameController and loads Casinogameui.css -->
|
<!-- Main container: Links the UI to the CasinoGameController and loads Casinogameui.css -->
|
||||||
<AnchorPane xmlns="http://javafx.com/javafx/21"
|
<AnchorPane fx:id="rootPane"
|
||||||
|
xmlns="http://javafx.com/javafx/21"
|
||||||
xmlns:fx="http://javafx.com/fxml/1"
|
xmlns:fx="http://javafx.com/fxml/1"
|
||||||
fx:controller="ch.unibas.dmi.dbis.cs108.casono.client.ui.gameui.CasinoGameController"
|
fx:controller="ch.unibas.dmi.dbis.cs108.casono.client.ui.gameui.CasinoGameController"
|
||||||
styleClass="background">
|
styleClass="background">
|
||||||
@@ -40,6 +41,8 @@
|
|||||||
alignment="CENTER"
|
alignment="CENTER"
|
||||||
styleClass="casino-table"
|
styleClass="casino-table"
|
||||||
spacing="20"
|
spacing="20"
|
||||||
|
mouseTransparent="false"
|
||||||
|
pickOnBounds="false"
|
||||||
maxWidth="Infinity"
|
maxWidth="Infinity"
|
||||||
maxHeight="Infinity">
|
maxHeight="Infinity">
|
||||||
|
|
||||||
@@ -66,7 +69,7 @@
|
|||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
<Label fx:id="tableText"
|
<Label fx:id="tableText"
|
||||||
text="Welcome! The round is about to begin."
|
text="Welcome! The game starts when 4 players are present..."
|
||||||
styleClass="table-title" />
|
styleClass="table-title" />
|
||||||
|
|
||||||
</VBox>
|
</VBox>
|
||||||
@@ -160,18 +163,18 @@
|
|||||||
</GridPane>
|
</GridPane>
|
||||||
|
|
||||||
<!-- movable taskbar -->
|
<!-- movable taskbar -->
|
||||||
<AnchorPane>
|
<AnchorPane pickOnBounds="false">
|
||||||
<fx:include fx:id="taskbarInclude" source="gameuicomponents/Taskbar.fxml" GridPane.columnIndex="1"/>
|
<fx:include fx:id="taskbarInclude" source="gameuicomponents/Taskbar.fxml" GridPane.columnIndex="1"/>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
|
|
||||||
<!-- movable notebook (Tips Box) -->
|
<!-- movable notebook (Tips Box) -->
|
||||||
<AnchorPane>
|
<AnchorPane pickOnBounds="false">
|
||||||
<fx:include fx:id="notebookInclude" source="gameuicomponents/Notebook.fxml"/>
|
<fx:include fx:id="notebookInclude" source="gameuicomponents/Notebook.fxml" GridPane.columnIndex="1"/>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
|
|
||||||
<!-- movable settings -->
|
<!-- movable settings -->
|
||||||
<AnchorPane>
|
<AnchorPane pickOnBounds="false">
|
||||||
<fx:include fx:id="settingsInclude" source="gameuicomponents/Settings.fxml"/>
|
<fx:include fx:id="settingsInclude" source="gameuicomponents/Settings.fxml" GridPane.columnIndex="1"/>
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
|
|
||||||
</AnchorPane>
|
</AnchorPane>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ and status displays will be dynamically populated with real-time data from the s
|
|||||||
<HBox fx:id="statusInnerBoxTop"
|
<HBox fx:id="statusInnerBoxTop"
|
||||||
styleClass="status-inner-box-top"
|
styleClass="status-inner-box-top"
|
||||||
alignment="CENTER_LEFT"
|
alignment="CENTER_LEFT"
|
||||||
prefHeight="40">
|
prefHeight="45">
|
||||||
|
|
||||||
<padding>
|
<padding>
|
||||||
<Insets left="10"/>
|
<Insets left="10"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user