本文介绍了推送,增长和填充MigLayout有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我看到grow
和push
接受可选的加权参数,但除此之外:增长,填充和推动之间的真正区别是什么?该文档对此不太清楚.
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? The documentation isn't very clear about that.
推荐答案
push
仅影响间隔,不影响元素.如果将组件设置为fill
,则意味着将所有子组件设置为grow
,而grow
直接影响该组件.
push
affects only gaps, not elements, as far as I know.If a component is set to fill
, this means to set all subcomponents to grow
, while grow
affects the component directly.
这篇关于推送,增长和填充MigLayout有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!