Hello, a question. Does anyone know a way after a ...
# tornadofx
n
Hello, a question. Does anyone know a way after a button was clicked to automatically reset the view to its initial state? Thanks for answers
s
I think the best way to do this would be to just make a controller function that sets the UI elements to their default state and call it from the button action.
e
I would suggest resetting properties bound to the ui elements instead of manipulating ui elements wherever possible 🙂