开发者

Button behind transparent Hbox unclickable

开发者 https://www.devze.com 2022-12-20 08:47 出处:网络
I have a HBox with no background, but with some children. Behind the HBox is a button which need to be clicked. The button is unclickable at the开发者_运维技巧 moment because the HBox is on top of it.

I have a HBox with no background, but with some children. Behind the HBox is a button which need to be clicked. The button is unclickable at the开发者_运维技巧 moment because the HBox is on top of it. I need the button to be clickable and still have the HBox on top of it.

Is there a way to accomplish this, because I can't seem to find a solution...


hBox.mouseEnabled=false;
hBox.mouseChildren=false;
0

精彩评论

暂无评论...
验证码 换一张
取 消