Fixed: SkipTurn Botton Position, SidePanel position, Info back color changed
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<HBox fx:id="mainHBox"
|
||||
maxHeight="Infinity" maxWidth="Infinity"
|
||||
xmlns="http://javafx.com/javafx/26"
|
||||
@@ -18,7 +19,7 @@
|
||||
fillWidth="false"
|
||||
maxHeight="Infinity"
|
||||
maxWidth="Infinity"
|
||||
HBox.hgrow="ALWAYS">
|
||||
HBox.hgrow="NEVER">
|
||||
<HBox.margin>
|
||||
<Insets top="5" right="5" bottom="5" left="5" />
|
||||
</HBox.margin>
|
||||
@@ -29,7 +30,7 @@
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
|
||||
<HBox fx:id="board" prefHeight="300" minHeight="300" maxHeight="300" styleClass="card-list" VBox.vgrow="NEVER">
|
||||
<HBox fx:id="board" prefHeight="280" minHeight="280" maxHeight="280" styleClass="card-list" VBox.vgrow="NEVER">
|
||||
<VBox.margin>
|
||||
<Insets top="5" right="5" bottom="5" left="5" />
|
||||
</VBox.margin>
|
||||
@@ -48,8 +49,7 @@
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
|
||||
<!-- VBox destra: dimensione fissa, non si espande -->
|
||||
<!-- VBox destra: dimensione fissa, non si espande -->
|
||||
<VBox fx:id="sidePanel"
|
||||
prefWidth="250.0"
|
||||
maxWidth="250.0"
|
||||
@@ -60,9 +60,17 @@
|
||||
<Insets bottom="10" left="10" right="10" top="10" />
|
||||
</HBox.margin>
|
||||
<children>
|
||||
<HBox fx:id="info" prefHeight="107.0" prefWidth="483.0" styleClass="frame" alignment="CENTER">
|
||||
<HBox fx:id="info" prefHeight="80.0" prefWidth="483.0" styleClass="frame" alignment="CENTER">
|
||||
<Label fx:id="infoText" styleClass="label-medium" text="VALORE" />
|
||||
</HBox>
|
||||
<ScrollPane fx:id="playerSide" fitToWidth="true"
|
||||
style="-fx-background: transparent; -fx-background-color: transparent;" hbarPolicy="NEVER"
|
||||
vbarPolicy="AS_NEEDED" VBox.vgrow="ALWAYS">
|
||||
<VBox.margin>
|
||||
<Insets top="5"/>
|
||||
</VBox.margin>
|
||||
</ScrollPane>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<HBox alignment="CENTER" fx:id="buttonRow" >
|
||||
<HBox spacing="10">
|
||||
<Button fx:id="skipBtn" styleClass="action-button" text="Skip Turn"/>
|
||||
@@ -73,10 +81,8 @@
|
||||
</VBox.margin>
|
||||
|
||||
</HBox>
|
||||
<ScrollPane fx:id="playerSide" fitToWidth="true"
|
||||
style="-fx-background: transparent; -fx-background-color: transparent;" hbarPolicy="NEVER"
|
||||
vbarPolicy="AS_NEEDED" VBox.vgrow="ALWAYS">
|
||||
</ScrollPane>
|
||||
|
||||
|
||||
</children>
|
||||
</VBox>
|
||||
|
||||
|
||||
@@ -43,14 +43,8 @@
|
||||
}
|
||||
|
||||
.frame {
|
||||
-fx-background-color:
|
||||
#8B6914,
|
||||
#FFF8DC,
|
||||
#8B6914,
|
||||
#FFF8DC;
|
||||
-fx-background-insets: 0, 5, 10, 15;
|
||||
-fx-background-radius: 15, 12, 8, 4;
|
||||
-fx-padding: 15 15 15 15;
|
||||
-fx-background-color: rgba(255,255,255,0.35);
|
||||
-fx-background-radius: 15 15 0 0;
|
||||
}
|
||||
|
||||
.action-button {
|
||||
|
||||
Reference in New Issue
Block a user