Browse Source

adjusted GridBagLayout for buttons after winning

master
Ozan-Can Ekinci 2 years ago
parent
commit
d6a48d33f9
  1. 5
      src/main/java/Gui/GameGui.java

5
src/main/java/Gui/GameGui.java

@ -78,6 +78,11 @@ GridBagConstraints gbc;
GameGui.ButtonPanel.setVisible(false);
GridBagConstraints gbc = new GridBagConstraints();
gbc.gridwidth = GridBagConstraints.REMAINDER;
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.ipadx = 200;
gbc.ipady = 100;
gbc.insets = new Insets(20, 0, 0, 0);
RestartBtn1 = new JButton("Nochmal Spielen");
ClosingBtn = new JButton("Schliessen");

Loading…
Cancel
Save