Animated component adding-delete in a VBox

白昼怎懂夜的黑 提交于 2019-12-13 05:45:14

问题


Is there a way to make the elements of a VBox smoothly move to their new positions when a new element is inserted or removed?

I actually need only to make them move smoothly when I remove an element. Thank you for your answers!


回答1:


Not without extending VBox and adding your own code to do so by overriding the addChild and removeChild functions.



来源:https://stackoverflow.com/questions/5404379/animated-component-adding-delete-in-a-vbox

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!