diff --git a/build.gradle b/build.gradle index c5e141a..9ae93e9 100644 --- a/build.gradle +++ b/build.gradle @@ -23,4 +23,5 @@ dependencies { compile group: 'net.sf.supercsv', name: 'super-csv', version: '2.4.0' compile group: 'com.typesafe', name: 'config', version: '1.3.0' compile group: 'commons-validator', name: 'commons-validator', version: '1.4.1' + compile group: 'de.jensd', name: 'fontawesomefx', version: '8.7' } diff --git a/src/main/java/ninja/javafx/smartcsv/fx/SmartCSVController.java b/src/main/java/ninja/javafx/smartcsv/fx/SmartCSVController.java index ed65827..d085ef4 100644 --- a/src/main/java/ninja/javafx/smartcsv/fx/SmartCSVController.java +++ b/src/main/java/ninja/javafx/smartcsv/fx/SmartCSVController.java @@ -27,12 +27,8 @@ package ninja.javafx.smartcsv.fx; import javafx.application.Platform; -import javafx.beans.InvalidationListener; -import javafx.beans.Observable; import javafx.beans.property.BooleanProperty; import javafx.beans.property.SimpleBooleanProperty; -import javafx.beans.value.ChangeListener; -import javafx.beans.value.ObservableValue; import javafx.concurrent.Service; import javafx.concurrent.Task; import javafx.event.ActionEvent; @@ -190,7 +186,8 @@ public class SmartCSVController extends FXMLController { "- spring framework\n" + "- supercsv\n" + "- config\n" + - "- commons-validator"); + "- commons-validator\n" + + "- fontawesomefx"); alert.showAndWait(); diff --git a/src/main/resources/ninja/javafx/smartcsv/fx/smartcsv.css b/src/main/resources/ninja/javafx/smartcsv/fx/smartcsv.css index 5cfee67..34caf93 100644 --- a/src/main/resources/ninja/javafx/smartcsv/fx/smartcsv.css +++ b/src/main/resources/ninja/javafx/smartcsv/fx/smartcsv.css @@ -12,4 +12,36 @@ .list-cell:even { -fx-background: -fx-control-inner-background; -} \ No newline at end of file +} + +.open-icon { + -glyph-name: "FILE_TEXT_ALT"; + -glyph-size: 14px; +} + +.config-icon { + -glyph-name: "CHECK"; + -glyph-size: 14px; +} + +.save-icon { + -glyph-name: "FLOPPY_ALT"; + -glyph-size: 14px; +} + +.exit-icon { + -glyph-name: "SIGN_OUT"; + -glyph-size: 14px; +} + +.info-icon { + -glyph-name: "INFO"; + -glyph-size: 14px; +} + +.error-title-icon { + -glyph-name: "EXCLAMATION_TRIANGLE"; + -glyph-size: 14px; +} + + diff --git a/src/main/resources/ninja/javafx/smartcsv/fx/smartcsv.fxml b/src/main/resources/ninja/javafx/smartcsv/fx/smartcsv.fxml index 1e77da0..3fce601 100644 --- a/src/main/resources/ninja/javafx/smartcsv/fx/smartcsv.fxml +++ b/src/main/resources/ninja/javafx/smartcsv/fx/smartcsv.fxml @@ -1,90 +1,129 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -
- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + - + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +