1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-12-23 16:00:09 -08:00

Format the fxml.

This commit is contained in:
Danila Fedorin 2017-07-31 17:18:08 -07:00
parent 8c935983b2
commit d61cc7bb9c

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.geometry.Insets?> <?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Text?> <?import javafx.scene.text.Text?>
<BorderPane xmlns="http://javafx.com/javafx" <BorderPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml" xmlns:fx="http://javafx.com/fxml"
@ -15,11 +15,14 @@
<bottom> <bottom>
<VBox> <VBox>
<ScrollPane prefHeight="50" vbarPolicy="NEVER"> <ScrollPane prefHeight="50" vbarPolicy="NEVER">
<padding><Insets top="10" bottom="10" left="10" right="10"/></padding> <padding>
<Insets top="10" bottom="10" left="10" right="10"/>
</padding>
<Text fx:id="outputText"/> <Text fx:id="outputText"/>
</ScrollPane> </ScrollPane>
<TextField fx:id="inputField" onAction="#performCalculation"/> <TextField fx:id="inputField" onAction="#performCalculation"/>
<Button fx:id="inputButton" text="Calculate" maxWidth="Infinity" onAction="#performCalculation"/> <Button fx:id="inputButton" text="Calculate" maxWidth="Infinity"
onAction="#performCalculation"/>
</VBox> </VBox>
</bottom> </bottom>
</BorderPane> </BorderPane>