MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / setInsets

Method setInsets

ij/src/main/java/ij/gui/GenericDialog.java:1174–1179  ·  view source on GitHub ↗

Set the insets (margins), in pixels, that will be used for the next component added to the dialog (except components added to the same row with addToSameRow) Default insets: addMessage: 0,20,0 (empty string) or 10,20,0 addCheckbox: 15,20,0 (first checkbox) or 0,20,0 addCheckboxGrou

(int top, int left, int bottom)

Source from the content-addressed store, hash-verified

1172 </pre>
1173 */
1174 public void setInsets(int top, int left, int bottom) {
1175 topInset = top;
1176 leftInset = left;
1177 bottomInset = bottom;
1178 customInsets = true;
1179 }
1180
1181 /** Makes the next item appear in the same row as the previous.
1182 * May be used for addNumericField, addSlider, addChoice, addCheckbox, addStringField,

Callers 15

showErrorMethod · 0.95
showDialogMethod · 0.95
runMethod · 0.95
showDialogMethod · 0.95
convertImagesToStackMethod · 0.95
showDialogMethod · 0.95
showDialogMethod · 0.95
runMethod · 0.95
showDialogMethod · 0.95
showDialogMethod · 0.95
showDialogMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected