What is the difference between push, grow, and fill in MigLayout?

后端 未结 2 1911
一向
一向 2021-02-15 11:35

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 do

相关标签:
2条回答
  • 2021-02-15 11:37

    The push constraint does affect elements. It is only one of its contexts where it makes gaps greedy.

    The answer is a bit more complex. I have provided it in a more recent question.

    0 讨论(0)
  • 2021-02-15 11:53

    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.

    0 讨论(0)
提交回复
热议问题