diff --git a/src/main/java/com/sothr/imagetools/App.java b/src/main/java/com/sothr/imagetools/App.java index c9c62e3..5c56893 100644 --- a/src/main/java/com/sothr/imagetools/App.java +++ b/src/main/java/com/sothr/imagetools/App.java @@ -66,8 +66,12 @@ public class App extends Application try { Parent root = FXMLLoader.load(cl.getResource(MAINGUI_FXML)); primaryStage.setScene(new Scene(root)); + //config main scene primaryStage.setTitle("Image Tools"); + primaryStage.setMinHeight(600.0); + primaryStage.setMinWidth(800.0); primaryStage.setResizable(true); + //show main scene primaryStage.show(); } catch (IOException ioe) { String message = String.format("Unable to load FXML file: %s", MAINGUI_FXML); diff --git a/src/main/resources/documents/about b/src/main/resources/documents/about new file mode 100644 index 0000000..2f9539b --- /dev/null +++ b/src/main/resources/documents/about @@ -0,0 +1,3 @@ +This is a simple about script. It demonstrates loading the about text from a file. + +It supports simple text, and nothing fancy. \ No newline at end of file diff --git a/src/main/resources/fxml/mainapp/MainApp.fxml b/src/main/resources/fxml/mainapp/MainApp.fxml index 927c8f8..50d33f3 100644 --- a/src/main/resources/fxml/mainapp/MainApp.fxml +++ b/src/main/resources/fxml/mainapp/MainApp.fxml @@ -1,11 +1,27 @@ - + + - - -