|
|
@@ -58,27 +58,26 @@ public class PreparationPanel extends JPanel {
|
|
|
JLabel lblIndex = new JLabel("Prep");
|
|
|
GridBagConstraints gbc_lblIndex = new GridBagConstraints();
|
|
|
gbc_lblIndex.fill = GridBagConstraints.HORIZONTAL;
|
|
|
- gbc_lblIndex.insets = new Insets(0, 0, 5, 5);
|
|
|
+ gbc_lblIndex.insets = new Insets(0, 0, 0, 5);
|
|
|
gbc_lblIndex.gridx = 0;
|
|
|
gbc_lblIndex.gridy = 0;
|
|
|
panelLeft.add(lblIndex, gbc_lblIndex);
|
|
|
|
|
|
Component horizontalGlue = Box.createHorizontalGlue();
|
|
|
GridBagConstraints gbc_horizontalGlue = new GridBagConstraints();
|
|
|
- gbc_horizontalGlue.insets = new Insets(0, 0, 5, 5);
|
|
|
+ gbc_horizontalGlue.insets = new Insets(0, 0, 0, 5);
|
|
|
gbc_horizontalGlue.gridx = 1;
|
|
|
gbc_horizontalGlue.gridy = 0;
|
|
|
panelLeft.add(horizontalGlue, gbc_horizontalGlue);
|
|
|
|
|
|
DurationPanel panelDuration = new DurationPanel("Requires", Duration.ZERO);
|
|
|
GridBagConstraints gbc_panelDuration = new GridBagConstraints();
|
|
|
- gbc_panelDuration.insets = new Insets(0, 0, 5, 0);
|
|
|
gbc_panelDuration.gridx = 2;
|
|
|
gbc_panelDuration.gridy = 0;
|
|
|
panelLeft.add(panelDuration, gbc_panelDuration);
|
|
|
|
|
|
JPanel panelIngredients = new JPanel();
|
|
|
- panelIngredients.setLayout(new VerticalLayout(5));
|
|
|
+ panelIngredients.setLayout(new VerticalLayout());
|
|
|
GridBagConstraints gbc_panelIngredients = new GridBagConstraints();
|
|
|
gbc_panelIngredients.gridwidth = 3;
|
|
|
gbc_panelIngredients.insets = new Insets(0, 0, 0, 5);
|