updated raceview javafx after develop merge to bring in text chat pane.

#story[1248]
This commit is contained in:
Zhi You Tan
2017-09-11 16:01:07 +12:00
parent 00100eb991
commit 6fcd4ae4cc
+28 -2
View File
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import java.lang.*?>
<?import javafx.scene.chart.*?>
<?import javafx.scene.control.*?>
@@ -41,7 +42,7 @@
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
</rowConstraints>
<children>
<AnchorPane prefHeight="998.0" prefWidth="1281.0"
<AnchorPane fx:id="basePane" prefHeight="998.0" prefWidth="1281.0"
style="-fx-background-color: skyblue;" GridPane.columnIndex="1">
<children>
<GridPane minHeight="10.0" prefHeight="998.0" prefWidth="1281.0"
@@ -56,10 +57,12 @@
<RowConstraints maxHeight="24.0" minHeight="24.0" prefHeight="24.0"
vgrow="SOMETIMES"/>
<RowConstraints vgrow="SOMETIMES"/>
<RowConstraints minHeight="10.0" prefHeight="30.0"
vgrow="SOMETIMES"/>
</rowConstraints>
<children>
<GridPane fx:id="contentAnchorPane" GridPane.columnSpan="2"
GridPane.rowSpan="2">
GridPane.rowSpan="3">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES"/>
</columnConstraints>
@@ -70,6 +73,29 @@
<Text fx:id="fpsDisplay" strokeType="OUTSIDE" strokeWidth="0.0"
text="60 FPS" GridPane.halignment="CENTER"
GridPane.valignment="CENTER"/>
<VBox maxHeight="214.0" maxWidth="468.0" minHeight="214.0"
minWidth="200.0" nodeOrientation="LEFT_TO_RIGHT"
prefHeight="214.0" prefWidth="468.0" GridPane.columnIndex="1"
GridPane.halignment="RIGHT" GridPane.rowIndex="2"
GridPane.valignment="BOTTOM">
<children>
<Pane fx:id="chatHistoryHolder" maxHeight="9.9999999999E10"
maxWidth="1.7976931348623157E308"
prefHeight="9.9999999999E10"/>
<HBox VBox.vgrow="NEVER">
<children>
<TextField fx:id="chatInput"
focusTraversable="false" prefHeight="25.0"
HBox.hgrow="ALWAYS"/>
<Button fx:id="chatSend" focusTraversable="false"
mnemonicParsing="false" text="Send"/>
</children>
</HBox>
</children>
<GridPane.margin>
<Insets bottom="10.0" right="10.0"/>
</GridPane.margin>
</VBox>
</children>
</GridPane>
</children>