1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-11-04 18:08:31 -08:00

Add the inputs to the calculator tab.

This commit is contained in:
Danila Fedorin 2017-07-31 17:08:16 -07:00
parent 2941252f7d
commit 27ff1a47b5

View File

@ -2,14 +2,28 @@
<?import javafx.scene.control.*?> <?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?> <?import javafx.scene.layout.*?>
<?import javafx.geometry.Insets?>
<BorderPane xmlns="http://javafx.com/javafx" <BorderPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml" xmlns:fx="http://javafx.com/fxml"
fx:controller="org.nwapw.abacus.fx.AbacusController"> fx:controller="org.nwapw.abacus.fx.AbacusController">
<center> <center>
<TabPane> <TabPane>
<Tab text="Calculator" closable="false"/> <Tab text="Calculator" closable="false">
<BorderPane>
<bottom>
<VBox>
<ScrollPane prefHeight="50" vbarPolicy="NEVER">
<padding><Insets top="10" bottom="10" left="10" right="10"/></padding>
</ScrollPane>
<TextField text="Input"/>
<Button text="Calculate" maxWidth="Infinity"/>
</VBox>
</bottom>
</BorderPane>
</Tab>
<Tab text="Settings" closable="false"/> <Tab text="Settings" closable="false"/>
</TabPane> </TabPane>
</center> </center>
</BorderPane> </BorderPane>