Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
2.6 kB
1
Indexable
Never
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ButtonBar?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>

<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/17" fx:controller="ba.unsa.etf.rpr.tutorijal7.HelloController">
  <columnConstraints>
    <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
    <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
      <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
  </columnConstraints>
  <rowConstraints>
    <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
    <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
    <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
      <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
      <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
      <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
  </rowConstraints>
   <children>
      <ListView prefHeight="200.0" prefWidth="200.0" GridPane.rowSpan="5" />
      <Label text="Ime:" GridPane.columnIndex="1" />
      <Label text="Prezime:" GridPane.columnIndex="1" GridPane.rowIndex="1" />
      <Label text="E-mail:" GridPane.columnIndex="1" GridPane.rowIndex="2" />
      <Label text="Korisničko ime:" GridPane.columnIndex="1" GridPane.rowIndex="3" />
      <Label text="Lozinka:" GridPane.columnIndex="1" GridPane.rowIndex="4" />
      <TextField GridPane.columnIndex="2" GridPane.rowIndex="3" />
      <TextField GridPane.columnIndex="2" GridPane.rowIndex="2" />
      <TextField GridPane.columnIndex="2" />
      <TextField GridPane.columnIndex="2" GridPane.rowIndex="1" />
      <ButtonBar prefHeight="40.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="5">
        <buttons>
          <Button mnemonicParsing="false" text="Dodaj" />
            <Button mnemonicParsing="false" onAction="#kraj" text="Kraj" />
        </buttons>
      </ButtonBar>
      <PasswordField GridPane.columnIndex="2" GridPane.rowIndex="4" />
   </children>
</GridPane>