Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 SceneBuilder 中,当您单击场景中的 ui 控件时,控件的边框会变为蓝色,并带有可用于动态调整组件大小的锚点。
这种行为是 JavaFx 内置的还是我必须自己实现?如果是这种情况,那么我该如何实现呢?
谢谢
不,这不是 JavaFX 的内置行为。一般来说,选择和拖动节点等的想法是这样的:
我希望这会有所帮助(有点)......
元素?