[英]What is the difference between push, grow, and fill in MigLayout?
I see that grow
and push
accept an optional weighting parameter, but apart from that: what is the real difference between grow, fill, and push? 我看到
grow
和push
接受一个可选的权重参数,但除此之外:grow,fill和push之间的真正区别是什么? The documentation isn't very clear about that. 该文档对此不太清楚。
push
affects only gaps, not elements, as far as I know. 据我所知,
push
只会影响差距,而不会影响元素。 If a component is set to fill
, this means to set all subcomponents to grow
, while grow
affects the component directly. 如果将组件设置为
fill
,则意味着将所有子组件设置为grow
,而grow
直接影响该组件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.