The parent container then uses these properties to measure itself.
然后,父容器使用这些属性度量它本身。
To compensate for this we added support to allow the parent container to periodically (say every 0.1 second) repaint itself.
为了补偿这一点,我们添加了支持,以允许父容器定期地(比如每隔0.1秒)重新绘制它自己。
This ensures that when the parent container receives a call for a measurement, its children will have been measured already.
这确保当父容器收到度量调用时,已经度量了它的子容器。
应用推荐