diff --git a/src/main/java/ui/window/JDialogELNComponentVoltageControlledCurrentSource.java b/src/main/java/ui/window/JDialogELNComponentVoltageControlledCurrentSource.java index bc68cc65460ed8031b69ff773d6f7aadac82034d..b431b4ade64524a662a40635fe2c45fdd4e5fe68 100644 --- a/src/main/java/ui/window/JDialogELNComponentVoltageControlledCurrentSource.java +++ b/src/main/java/ui/window/JDialogELNComponentVoltageControlledCurrentSource.java @@ -43,6 +43,7 @@ import ui.util.IconManager; import java.awt.BorderLayout; import java.awt.Dimension; +import java.awt.FlowLayout; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; @@ -200,7 +201,7 @@ public class JDialogELNComponentVoltageControlledCurrentSource extends JDialog i attributesMainPanel.add(box); // add grid to grid // Down Side - JPanel downPanel = new JPanel(new GridLayout(1, 2)); + JPanel downPanel = new JPanel(new FlowLayout()); JButton saveCloseButton = new JButton("Save and close"); saveCloseButton.setIcon(IconManager.imgic25);