2020-06-09 21:22:45 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2020-06-28 22:30:14 +02:00
|
|
|
<?import envoy.client.ui.ClearableTextField?>
|
2020-06-09 21:22:45 +02:00
|
|
|
<?import javafx.geometry.Insets?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
|
<?import javafx.scene.control.ListView?>
|
|
|
|
<?import javafx.scene.control.Tooltip?>
|
2020-06-28 22:30:14 +02:00
|
|
|
<?import javafx.scene.layout.BorderPane?>
|
2020-06-09 21:22:45 +02:00
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
|
|
2020-07-13 19:12:03 +02:00
|
|
|
<VBox 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="envoy.client.ui.controller.GroupCreationScene">
|
2020-06-28 22:30:14 +02:00
|
|
|
<children>
|
|
|
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
|
|
<children>
|
|
|
|
<ClearableTextField fx:id="groupNameField">
|
2020-07-13 19:12:03 +02:00
|
|
|
<textField onInputMethodTextChanged="#textUpdated"
|
|
|
|
onKeyTyped="#textUpdated" prefColumnCount="22"
|
|
|
|
promptText="Enter Group Name" />
|
2020-06-28 22:30:14 +02:00
|
|
|
<HBox.margin>
|
|
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
|
|
</HBox.margin>
|
|
|
|
<padding>
|
|
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
|
|
</padding>
|
|
|
|
<tooltip>
|
2020-07-13 19:12:03 +02:00
|
|
|
<Tooltip
|
|
|
|
text="Enter something. A group with this name will be created."
|
|
|
|
wrapText="true" />
|
2020-06-28 22:30:14 +02:00
|
|
|
</tooltip>
|
|
|
|
</ClearableTextField>
|
|
|
|
</children>
|
|
|
|
</HBox>
|
|
|
|
<Label text="Choose Members:">
|
|
|
|
<font>
|
|
|
|
<Font size="16.0" />
|
|
|
|
</font>
|
|
|
|
<padding>
|
|
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
|
|
</padding>
|
|
|
|
</Label>
|
2020-07-13 19:12:03 +02:00
|
|
|
<ListView fx:id="userList" onMouseClicked="#chatListClicked"
|
|
|
|
prefHeight="314.0" prefWidth="600.0">
|
2020-06-28 22:30:14 +02:00
|
|
|
<VBox.margin>
|
|
|
|
<Insets bottom="5.0" left="10.0" right="10.0" top="5.0" />
|
|
|
|
</VBox.margin>
|
|
|
|
<padding>
|
|
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
|
|
</padding>
|
|
|
|
</ListView>
|
|
|
|
<BorderPane prefHeight="50.0">
|
|
|
|
<left>
|
2020-07-13 19:12:03 +02:00
|
|
|
<Button cancelButton="true" mnemonicParsing="true"
|
|
|
|
onAction="#backButtonClicked" text="_Back"
|
|
|
|
BorderPane.alignment="CENTER">
|
2020-06-28 22:30:14 +02:00
|
|
|
<padding>
|
|
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
|
|
</padding>
|
|
|
|
<tooltip>
|
2020-07-13 19:12:03 +02:00
|
|
|
<Tooltip autoHide="true"
|
|
|
|
text="Takes you back to the screen where you can chat with others"
|
|
|
|
wrapText="true" />
|
2020-06-28 22:30:14 +02:00
|
|
|
</tooltip>
|
|
|
|
<BorderPane.margin>
|
|
|
|
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
|
|
|
</BorderPane.margin>
|
|
|
|
</Button>
|
|
|
|
</left>
|
|
|
|
<right>
|
2020-07-13 19:12:03 +02:00
|
|
|
<Button fx:id="createButton" alignment="CENTER_RIGHT"
|
|
|
|
defaultButton="true" disable="true" mnemonicParsing="false"
|
|
|
|
onAction="#createButtonClicked" text="Create"
|
|
|
|
BorderPane.alignment="CENTER">
|
2020-06-28 22:30:14 +02:00
|
|
|
<padding>
|
|
|
|
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
|
|
|
</padding>
|
|
|
|
<BorderPane.margin>
|
|
|
|
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
|
|
|
</BorderPane.margin>
|
|
|
|
</Button>
|
|
|
|
</right>
|
|
|
|
</BorderPane>
|
|
|
|
</children>
|
2020-06-09 21:22:45 +02:00
|
|
|
</VBox>
|