TicTacToeSettings.fxml (3496B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <?import javafx.scene.layout.*?> 4 5 <?import javafx.scene.control.Label?> 6 <?import java.lang.String?> 7 <?import javafx.scene.control.Separator?> 8 <?import com.jfoenix.controls.JFXComboBox?> 9 <AnchorPane xmlns="http://javafx.com/javafx" 10 xmlns:fx="http://javafx.com/fxml" 11 fx:controller="nl.isygameclient.controllers.games.tictactoe.TicTacToeSettingsController" 12 prefHeight="400.0" prefWidth="600.0"> 13 14 15 <!-- Difficulty Controls --> 16 <VBox> 17 <Label text="Difficulty"> 18 <styleClass> 19 <String fx:value="headline-small"/> 20 <String fx:value="on-surface-variant-text"/> 21 </styleClass> 22 </Label> 23 <Separator styleClass="on-surface-variant-text"/> 24 <JFXComboBox fx:id="difficultyCombo" prefWidth="Infinity" onAction="#onDifficultyComboSelect"> 25 <styleClass> 26 <String fx:value="primary"/> 27 <String fx:value="on-primary-text"/> 28 <String fx:value="body-large"/> 29 </styleClass> 30 </JFXComboBox> 31 </VBox> 32 33 <!-- Playing As Controls --> 34 <VBox> 35 <Label text="Playing As"> 36 <styleClass> 37 <String fx:value="headline-small"/> 38 <String fx:value="on-surface-variant-text"/> 39 </styleClass> 40 </Label> 41 <Separator styleClass="on-surface-variant-text"/> 42 <JFXComboBox fx:id="playingAsCombo" prefWidth="Infinity" onAction="#onPlayingAsComboSelect"> 43 <styleClass> 44 <String fx:value="primary"/>--> 45 <String fx:value="on-primary-text"/> 46 <String fx:value="body-large"/> 47 </styleClass> 48 </JFXComboBox> 49 </VBox> 50 51 <!-- Opponents Controls --> 52 <VBox> 53 <Label text="Opponent"> 54 <styleClass> 55 <String fx:value="headline-small"/> 56 <String fx:value="on-surface-variant-text"/> 57 </styleClass> 58 </Label> 59 <Separator styleClass="on-surface-variant-text"/> 60 <JFXComboBox fx:id="opponentCombo" prefWidth="Infinity" onAction="#onOpponentComboSelect"> 61 <styleClass> 62 <String fx:value="primary"/>--> 63 <String fx:value="on-primary-text"/> 64 <String fx:value="body-large"/> 65 </styleClass> 66 </JFXComboBox> 67 </VBox> 68 69 <!-- Best of Controls --> 70 <VBox> 71 <Label text="Best Of"> 72 <styleClass> 73 <String fx:value="headline-small"/> 74 <String fx:value="on-surface-variant-text"/> 75 </styleClass> 76 </Label> 77 <Separator styleClass="on-surface-variant-text"/> 78 </VBox> 79 80 </AnchorPane>