Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.geometry.Insets?>
- <?import javafx.scene.control.Button?>
- <?import javafx.scene.control.CheckBox?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.control.ListView?>
- <?import javafx.scene.control.TextField?>
- <?import javafx.scene.layout.BorderPane?>
- <?import javafx.scene.layout.HBox?>
- <?import javafx.scene.layout.Region?>
- <?import javafx.scene.layout.VBox?>
- <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
- <top>
- <HBox prefHeight="112.0" prefWidth="580.0" spacing="20.0" BorderPane.alignment="CENTER">
- <children>
- <TextField fx:id="text" onAction="#onEnter" promptText="Nazwa" />
- <Button fx:id="add" mnemonicParsing="false" onAction="#onAdd" text="Dodaj" />
- <Button fx:id="delete" layoutX="159.0" layoutY="10.0" mnemonicParsing="false" onAction="#onDelete" text="Usun" />
- <Button fx:id="random" layoutX="247.0" layoutY="10.0" mnemonicParsing="false" onAction="#onRandom" text="Losuj">
- <HBox.margin>
- <Insets left="40.0" top="40.0" />
- </HBox.margin>
- </Button>
- </children>
- <BorderPane.margin>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </BorderPane.margin>
- </HBox>
- </top>
- <left>
- <VBox fx:id="vbox" prefHeight="333.0" prefWidth="175.0" BorderPane.alignment="CENTER">
- <children>
- <CheckBox fx:id="cb" mnemonicParsing="false" prefHeight="17.0" prefWidth="78.0" text="Klemczak" />
- </children>
- <BorderPane.margin>
- <Insets left="10.0" />
- </BorderPane.margin>
- </VBox>
- </left>
- <right>
- <VBox prefHeight="274.0" prefWidth="18.0" BorderPane.alignment="CENTER">
- <children>
- <Region VBox.vgrow="ALWAYS" />
- </children>
- </VBox>
- </right>
- <bottom>
- <HBox prefHeight="12.0" prefWidth="600.0" BorderPane.alignment="CENTER">
- <children>
- <Region HBox.hgrow="ALWAYS" />
- </children>
- </HBox>
- </bottom>
- <center>
- <HBox prefHeight="100.0" prefWidth="200.0" BorderPane.alignment="CENTER">
- <children>
- <VBox prefHeight="200.0" prefWidth="100.0">
- <children>
- <Label text="Team 1">
- <padding>
- <Insets left="55.0" />
- </padding>
- </Label>
- <ListView fx:id="listview1" minWidth="150.0" prefHeight="200.0" prefWidth="200.0" />
- </children>
- <HBox.margin>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </HBox.margin>
- <padding>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </padding>
- </VBox>
- <VBox prefHeight="200.0" prefWidth="100.0">
- <children>
- <Label prefHeight="17.0" prefWidth="130.0" text="Team 2">
- <padding>
- <Insets left="55.0" />
- </padding>
- </Label>
- <ListView fx:id="listview2" minWidth="150.0" prefHeight="200.0" prefWidth="200.0" />
- </children>
- <padding>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </padding>
- <HBox.margin>
- <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
- </HBox.margin>
- </VBox>
- </children>
- </HBox>
- </center>
- </BorderPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement