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”);)?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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