Your example with nesting works, or you could use ...
# tornadofx
r
Your example with nesting works, or you could use
content_box contains button { ... }
if you didn't want to nest your blocks.