diff --git a/libraries/bowler-script-kernel b/libraries/bowler-script-kernel index bec309c26..4d19fa5fd 160000 --- a/libraries/bowler-script-kernel +++ b/libraries/bowler-script-kernel @@ -1 +1 @@ -Subproject commit bec309c26cacb701e787fb70ff6ae5c82f9f0f9a +Subproject commit 4d19fa5fdf164f950dad9dfbda31878a2d2701a7 diff --git a/src/main/java/com/neuronrobotics/bowlerstudio/scripting/ScriptingFileWidget.java b/src/main/java/com/neuronrobotics/bowlerstudio/scripting/ScriptingFileWidget.java index 4f8d0ebc4..85747b8e6 100644 --- a/src/main/java/com/neuronrobotics/bowlerstudio/scripting/ScriptingFileWidget.java +++ b/src/main/java/com/neuronrobotics/bowlerstudio/scripting/ScriptingFileWidget.java @@ -45,6 +45,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Scanner; +import javafx.scene.control.Tooltip; @SuppressWarnings("unused") public class ScriptingFileWidget extends BorderPane implements IFileChangeListener { @@ -172,7 +173,8 @@ private void load(ScriptingWidgetType type, File currentFile) { // little bit }); }); - System.err.println("\n\n\nScriptingFileWidget loading the editor loader:\n\n\n"); + + //System.err.println("\n\n\nScriptingFileWidget loading the editor loader:\n\n\n"); try { externalEditorController = new ExternalEditorController(currentFile, autoRun); }catch(Throwable t) { @@ -180,6 +182,7 @@ private void load(ScriptingWidgetType type, File currentFile) { } Button openFile = new Button("Open"); + openFile.setGraphic(AssetFactory.loadIcon("Folder.png")); openFile.setMinWidth(80); openFile.setOnAction(event -> { new Thread(() -> { @@ -538,9 +541,11 @@ private void setUpFile(File f) { BowlerStudio.runLater(() -> { // fileListBox.setMinWidth(remote.getBytes().length*10); fileListBox.setText(remote); + fileListBox.setTooltip(new Tooltip(remote)); // fileListBox.res fileNameBox.setText(findLocalPath); + fileNameBox.setTooltip(new Tooltip(findLocalPath)); // These values are display only, so if hte user tries to change them, they // reset // the use of text field for static dats is so the user cna copy the vlaues and