diff --git a/src/main/java/Gui/GameGui.java b/src/main/java/Gui/GameGui.java index 61161f0..a7b3427 100644 --- a/src/main/java/Gui/GameGui.java +++ b/src/main/java/Gui/GameGui.java @@ -4,6 +4,7 @@ import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.GridLayout; +import java.awt.Insets; import javax.swing.JLabel; import javax.swing.JPanel; @@ -36,6 +37,9 @@ GridBagConstraints gbc; headingPanel.add(QuestionLabel); ButtonPanel.setLayout(new GridBagLayout()); gbc = new GridBagConstraints(); + gbc.gridwidth = 1; + gbc.fill = GridBagConstraints.HORIZONTAL; + gbc.insets = new Insets(10,10,10,10); } }