推送,增长和填充MigLayout有什么区别? [英] What is the difference between push, grow, and fill in MigLayout?

查看:83
本文介绍了推送,增长和填充MigLayout有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到growpush接受可选的加权参数,但除此之外:增长,填充和推动之间的真正区别是什么?该文档对此不太清楚.

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有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆