作者:哇哈时候_206 | 来源:互联网 | 2023-01-17 18:30
WhenIsetacomponenttovisiblefalsethecomponenthides,buthowdoIgetittotakenospace(g
When I set a component to visible=false the component hides, but how do I get it to take no space (get the container it belongs to to resize??)
当我将组件设置为visible = false时,组件会隐藏,但是如何让它不占用空间(获取它所属的容器来调整大小?)
...
When boxAddComment is visible=false I want the first HBox to take 100% height.
当boxAddComment可见= false时,我希望第一个HBox占据100%的高度。
3 个解决方案