<@U6K8B0PEH> On a general note, injecting viewmode...
# tornadofx
e
@harshmaur On a general note, injecting viewmodels into the scope of that component is a very clean way of passing information between your UI pieces. It could even be used for this purpose, but as it was pointed out, it might be overkill with a View or Fragment for a single button. Styles can also be conditionally toggled based on some property.