Reputation: 6352
Is there a way to make the default gap between components of all layouts ever to be created in a specific program to be 0?
Is there any way to do it? If not, is there at least a way to do it on a layout-level (new MigLayout("gaptozero");)?
Upvotes: 2
Views: 1106
Reputation: 25106
Try setting MigLayout("insets 0");
EDIT:
To fix for gaps (see comments) you can simply write: MigLayout("gap 0");
Or, gapx and gapy.
All this comes from: http://migcalendar.com/miglayout/cheatsheet.html
Upvotes: 2