FontAwesomeFX 8.2 released

I made some refactorings and have now released FontAwesomeFX 8.2 containing some (more or less) minor changes:

  • Icon enums renamed: ‘*Name’ is now ‘*Icons’ (e.g. ‘FontAwesomeIcons’ instead of ‘FontAwesomeIconName’)
  • added a ‘BLANK’ icon to both FontAwesomeIcons and WeatherIcons which is in fact unicode ‘\u0020’ (SPACE) (@dlemmermann! ;-))
  • GlyphsBuilder: icon(GlyphIconName glyphIconName) is now glyph(GlyphIcons glyph)
  • removed unnecessary code
  • FXML:
    • ‘iconName’ is now ‘glyphName’
    • ‘glyphStyleClass’ is now ‘styleClass’: no extra GlyphStyle class just assign the class via Section “JavaFX CSS” -> Style Class.

So if you have already used FontAwesomeFX 8.1 you will also have to adjust your code, sorry for the inconvenience but I think now its a more reasonable wording for future releases!

Some FXML Examples:
2015-03-04 12_49_16-FontAwesomeFX - NetBeans IDE 8.0.2
2015-03-04 12_44_15-glyphs_fxml_demo.fxml
2015-03-04 12_46_09-glyphs_fxml_demo.fxml

2015-03-04 12_49_25-FontAwesomeFX - NetBeans IDE 8.0.2
2015-03-04 12_47_13-glyphs_fxml_demo.fxml
2015-03-04 12_47_25-glyphs_fxml_demo.fxml
2015-03-04 12_45_56-glyphs_fxml_demo.fxml

I planned to make the Icon choice in SceneBuilder more comfortable. I wanted to provide a drop-down instead of need to look up the right name and to put it into the TextField. But unfortunately by now I didn’t make it to get SceneBuilder to work with the Glyphs-choice as enum. It worked very well with just one GlyphIcon on the pane but when a 2nd one is placed SB crashed. But I will continue to try to find out what went wrong – stay tuned.

Get 8.2:
Download Binaries: Download
Sources available at Bitbucket



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

9 thoughts on “FontAwesomeFX 8.2 released”

  1. Hi Jens,
    when i to add an Margin to a FontAwesomeIcon in the SceneBuilder working the Insets as expected during the SceneBuilder is open. But when I close the SceneBuilder and try a little later to open the file in NetBeans 8.02 with doubleclick I become an exception: javafx.fxml.LoadException: Caused by: com.sun.javafx.fxml.PropertyNotFoundException: Static property “margin” does not exist or is read-only.
    In the fxml are follow tag-structure (in a HBox):

    When I remove the margin from hand I can then open the file again in the SceneBuilder.

    I use your version 8.2 in my project.

    Greetings Peter

    1. Interesting ;-):
      1. if I do the same and open it via double-click in NetBeans I got the same exception.
      2. if I start SceneBuilder directly and open the fxml file in SB it works…

  2. Great work! Is it possible to change the glyphname with css? I want to use the icon for a ToggleButton but can’t get it working with just css.