1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-06-28 13:46:24 -07:00
Abacus/src/main/resources/abacus.fxml

35 lines
1.3 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2017-07-31 17:08:16 -07:00
<?import javafx.geometry.Insets?>
2017-07-31 17:18:08 -07:00
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Text?>
<BorderPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="org.nwapw.abacus.fx.AbacusController">
<center>
<TabPane>
2017-07-31 17:08:16 -07:00
<Tab text="Calculator" closable="false">
<BorderPane>
<bottom>
<VBox>
<ScrollPane prefHeight="50" vbarPolicy="NEVER">
2017-07-31 17:18:08 -07:00
<padding>
<Insets top="10" bottom="10" left="10" right="10"/>
</padding>
<Text fx:id="outputText"/>
2017-07-31 17:08:16 -07:00
</ScrollPane>
<TextField fx:id="inputField" onAction="#performCalculation"/>
2017-07-31 17:18:08 -07:00
<Button fx:id="inputButton" text="Calculate" maxWidth="Infinity"
onAction="#performCalculation"/>
2017-07-31 17:08:16 -07:00
</VBox>
</bottom>
</BorderPane>
</Tab>
<Tab text="Settings" closable="false"/>
</TabPane>
</center>
</BorderPane>