Sergio Casero
11/20/2018, 6:39 PMRootScreen
, in this screen I have the showProgress()
and hideProgress()
. These methods are updating the progressProperty, and I want to create here a progress val like this:
protected val progress = progressbar { visibleWhen { progressProperty } }
Now, I want to reuse this component in my screens, by only calling "progress" and I want to delegate where the progress should be shown (for example, in a stackpane, centered). Is there any way? Or my approach is wrong?