<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.control.*?>
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<GridPane xmlns="http://javafx.com/javafx"
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
fx:controller="com.example.javafx.StudentController"
|
|
alignment="CENTER"
|
|
hgap="10" vgap="10"
|
|
>
|
|
<padding>
|
|
<Insets top="25" right="25" bottom="10" left="25"/>
|
|
</padding>
|
|
<TableView fx:id="tbData" layoutX="20" layoutY="20"
|
|
prefWidth="800" prefHeight="400"
|
|
stylesheets="@../../../css/styles.css">
|
|
<columns>
|
|
<TableColumn fx:id="studentId" prefWidth="75.0" text="Id" />
|
|
<TableColumn fx:id="firstName" prefWidth="75.0" text="Nombre" />
|
|
<TableColumn fx:id="studentAge" prefWidth="75.0" text="Edad" />
|
|
</columns>
|
|
<columnResizePolicy>
|
|
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
|
</columnResizePolicy>
|
|
</TableView>
|
|
|
|
</GridPane>
|