try adding some padding to the stackpane
# tornadofx
c
try adding some padding to the stackpane