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.
如果面板具有水平尺寸和垂直尺寸等布局属性,那么我可以隐藏面板并且面板使用的空间也在缩小。但是如果面板具有 X 和 Y 等布局属性,那么我可以隐藏面板,但是面板使用的空间留空并且不会被删除。
当面板隐藏时如何使空间缩小?
难道你不能隐藏组件然后重新验证/重新绘制容器吗?这将有效地导致容器“收缩”。