Jfoenix: How to add children dynamically using JFXMasonryPane ?

Created on 25 Oct 2016  路  3Comments  路  Source: sshahine/JFoenix

Hi, I like JFXMasonryPane very much. The only thing I can't understand is how to add children dynamically? Pseudo code as below:
button.setOnClick(e -> { masonryPane.getChildren().add(new Label("test")); });
I tried a lot but can't see "test" labels, do I really need to modify JFoenix source code?

Most helpful comment

the issue has been fixed, you can test it using the latest JFoenix jar
this fix is not yet pushed to maven central, it will be pushed by the end of the month.

Regards,

All 3 comments

Hi,
this is the correct way of adding children to JFXMasonryPane, will debug this. thanks for pointing out the issue :+1:

Regards,

the issue has been fixed, you can test it using the latest JFoenix jar
this fix is not yet pushed to maven central, it will be pushed by the end of the month.

Regards,

Thank you very much admin, sorry for the late reply~
I'll try it ASAP. :-) :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ayushchadha23 picture ayushchadha23  路  5Comments

TioCoding picture TioCoding  路  5Comments

alittwin picture alittwin  路  4Comments

SkaaRJik picture SkaaRJik  路  4Comments

evillatoro picture evillatoro  路  3Comments