Files
FACULTATE-DELIVERY_PLANNER/Admin/target/classes/com/example/demo3/UserOrders.fxml
T
2023-06-04 21:52:04 +03:00

62 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<AnchorPane xmlns="http://javafx.com/javafx/20.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.demo3.UserOrdersController">
<children>
<VBox alignment="TOP_CENTER" prefHeight="600.0" prefWidth="864.0" stylesheets="@Login.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<TextField fx:id="searchBar" maxWidth="300.0" minWidth="100.0" prefWidth="300.0" promptText="search..." styleClass="label-form">
<VBox.margin>
<Insets bottom="15.0" top="15.0" />
</VBox.margin>
</TextField>
<AnchorPane VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets />
</VBox.margin>
<children>
<HBox alignment="TOP_CENTER" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<TableView fx:id="ordersTable" editable="true" prefHeight="545.0" prefWidth="47.0" stylesheets="@Login.css" HBox.hgrow="ALWAYS">
<columns>
<TableColumn fx:id="idOrderCol" minWidth="0.0" prefWidth="102.0" text="order id" />
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
<HBox.margin>
<Insets right="15.0" />
</HBox.margin>
</TableView>
<TableView fx:id="productsTable" editable="true" prefHeight="723.0" prefWidth="685.0" HBox.hgrow="ALWAYS">
<columns>
<TableColumn fx:id="idProductCol" prefWidth="95.0" text="id" />
<TableColumn fx:id="nameProductCol" prefWidth="351.0" text="name" />
<TableColumn fx:id="quantityProductCol" prefWidth="313.0" text="quantity" />
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
<opaqueInsets>
<Insets />
</opaqueInsets>
</TableView>
</children>
<opaqueInsets>
<Insets />
</opaqueInsets>
</HBox>
</children>
</AnchorPane>
</children>
</VBox>
</children>
</AnchorPane>