Debugging – how to use scenicview to check subwindows (contextmenus, popupcontrols, etc.)

Using scenicview, I want to be able to check the inside of ContextMenu or combobox, but (because they should) they will disappear before the check occurs:

In addition to changing the behavior of each control will not disappear, is there a way to freeze things so that you can check these controls using scenebuilder?

Here's a sscce, for anyone willing to jump

Solution

I realized it was out of date, but I also encountered this problem I have a partial answer:

contextMenu.autoHideproperty().set(false);

The menu will remain unchanged However, it seems that scenicview will refuse to actually check the menu

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>