nathan-sixnines / miglayout

Automatically exported from code.google.com/p/miglayout
0 stars 0 forks source link

[RFE] Allow overriding grid gap size between components #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It's quite amazing how flexible MigLayout already is, but one thing I find 
missing: I cannot override the layout grid gap size in the component 
constraints!

While I'm already able to achieve the desired layout, it's a bit cumbersome to 
have to define row constraints

new MigLayout("insets dialog", "[grow][][grow][]", "[][][] 1lp");

in order to override the default vertical gap size between two rows.

This also ties the order of components to the definition, which is a potential 
maintenance burden as you have to adjust the row constraints definition if 
components are to be rearranged.

Original issue reported on code.google.com by trie...@gmail.com on 28 Nov 2012 at 8:44

GoogleCodeExporter commented 9 years ago
Sorry for the extremely late response. I didn't have email notifications on so 
I didn't see this until just now.

That would be quite a hard change to do in a consistent way unfortunately.

Original comment by mikael.g...@gmail.com on 13 Apr 2014 at 10:00