Created
February 21, 2017 20:28
-
-
Save netopyr/6f4f7e27532ac64fb4a1cef1e925adba to your computer and use it in GitHub Desktop.
Example of ReduxFX builder API 0.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return HBox() | |
.padding(50.0) | |
.spacing(20.0) | |
.children( | |
ColorChooser() | |
.color(state.getColor(), (oldValue, newValue) -> Actions.updateColor(newValue)), | |
Region() | |
.background(state.getColor()) | |
.minWidth(100.0) | |
.minHeight(100.0) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment