forked from oakes/Nightcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor.fxml
More file actions
27 lines (25 loc) · 1.46 KB
/
Copy patheditor.fxml
File metadata and controls
27 lines (25 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToggleButton?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.web.WebView?>
<VBox fx:id="editor" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="net.sekao.nightcode.controller">
<children>
<HBox fx:id="editor_buttons">
<children>
<Button fx:id="up" minWidth="-Infinity" mnemonicParsing="false" onAction="#onUp" text="↑" />
<Button fx:id="save" minWidth="-Infinity" mnemonicParsing="false" onAction="#onSave" text="Save" />
<Button fx:id="undo" minWidth="-Infinity" mnemonicParsing="false" onAction="#onUndo" text="Undo" />
<Button fx:id="redo" minWidth="-Infinity" mnemonicParsing="false" onAction="#onRedo" text="Redo" />
<ToggleButton fx:id="instarepl" minWidth="-Infinity" mnemonicParsing="false" onAction="#onInstaRepl" text="InstaREPL" />
<TextField fx:id="find" onKeyPressed="#onFind" promptText="Find" />
<Separator HBox.hgrow="ALWAYS" />
<Button fx:id="close" minWidth="-Infinity" mnemonicParsing="false" onAction="#onClose" text="X" />
</children>
</HBox>
<WebView fx:id="webview" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS" />
</children>
</VBox>