2020-08-22 21:50:05 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2020-08-23 12:36:43 +02:00
|
|
|
<?import javafx.geometry.Insets?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
|
|
<?import javafx.scene.control.ContextMenu?>
|
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
|
<?import javafx.scene.control.ListView?>
|
|
|
|
<?import javafx.scene.control.TextArea?>
|
|
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
|
<?import javafx.scene.text.Font?>
|
2020-08-22 21:50:05 +02:00
|
|
|
|
2020-08-23 12:36:43 +02:00
|
|
|
<AnchorPane xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="envoy.client.ui.controller.ContactSearchTab">
|
|
|
|
<VBox id="search-panel" alignment="TOP_CENTER" prefHeight="3000.0" prefWidth="316.0">
|
|
|
|
<children>
|
|
|
|
<Label alignment="CENTER" text="Find User" textAlignment="CENTER" textFill="WHITE">
|
|
|
|
<font>
|
|
|
|
<Font size="18.0" />
|
|
|
|
</font>
|
|
|
|
<VBox.margin>
|
|
|
|
<Insets top="8.0" />
|
|
|
|
</VBox.margin>
|
|
|
|
</Label>
|
|
|
|
<HBox id="underline" prefWidth="200.0" spacing="5.0">
|
|
|
|
<children>
|
|
|
|
<Label id="contact-search-enter-container" maxHeight="30.0" minHeight="30.0" prefHeight="30.0" prefWidth="325.0">
|
|
|
|
<graphic>
|
|
|
|
<TextArea id="contactSearchInput" fx:id="searchBar" focusTraversable="false" maxHeight="30.0" minHeight="30.0" onInputMethodTextChanged="#sendRequest" onKeyTyped="#sendRequest" prefHeight="30.0" prefWidth="200.0" promptText="Search Envoy Users">
|
|
|
|
<font>
|
|
|
|
<Font size="14.0" />
|
|
|
|
</font>
|
|
|
|
<padding>
|
|
|
|
<Insets left="12.0" right="12.0" />
|
|
|
|
</padding>
|
|
|
|
</TextArea>
|
|
|
|
</graphic>
|
|
|
|
</Label>
|
2020-08-23 17:11:41 +02:00
|
|
|
<Button maxHeight="30.0" maxWidth="30.0" minHeight="30.0" minWidth="30.0" mnemonicParsing="false" onAction="#backButtonClicked" prefHeight="30.0" prefWidth="30.0" text="X" />
|
2020-08-23 12:36:43 +02:00
|
|
|
</children>
|
|
|
|
<VBox.margin>
|
|
|
|
<Insets left="10.0" right="10.0" />
|
|
|
|
</VBox.margin>
|
|
|
|
<padding>
|
2020-08-23 17:24:55 +02:00
|
|
|
<Insets bottom="17.0" top="5.0" />
|
2020-08-23 12:36:43 +02:00
|
|
|
</padding>
|
|
|
|
</HBox>
|
|
|
|
<ListView id="chatList" fx:id="userList" focusTraversable="false" onMouseClicked="#userListClicked" prefWidth="316.0" VBox.vgrow="ALWAYS">
|
|
|
|
<contextMenu>
|
2020-08-23 17:11:41 +02:00
|
|
|
<ContextMenu anchorLocation="CONTENT_TOP_LEFT" />
|
2020-08-23 12:36:43 +02:00
|
|
|
</contextMenu>
|
|
|
|
<padding>
|
|
|
|
<Insets bottom="5.0" left="5.0" right="2.0" top="5.0" />
|
|
|
|
</padding>
|
|
|
|
</ListView>
|
|
|
|
</children>
|
|
|
|
</VBox>
|
|
|
|
</AnchorPane>
|