mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CPP-39 Create new CMake project
This commit is contained in:
@@ -108,6 +108,11 @@ public class FormBuilder {
|
||||
}
|
||||
|
||||
public FormBuilder addVerticalGap(final int height) {
|
||||
if (height == -1) {
|
||||
myPanel.add(new JLabel(), new GridBagConstraints(0, myLineCount++, 2, 1, 0, 1, CENTER, NONE, new Insets(0, 0, 0, 0), 0, 0));
|
||||
return this;
|
||||
}
|
||||
|
||||
return addLabeledComponent((JLabel)null,
|
||||
new Box.Filler(new Dimension(0, height), new Dimension(0, height), new Dimension(Short.MAX_VALUE, height)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user