diff --git a/schach/src/main/java/de/hs_mannheim/informatik/chess/view/GameGui.java b/schach/src/main/java/de/hs_mannheim/informatik/chess/view/GameGui.java index af4c4de..db3ff77 100644 --- a/schach/src/main/java/de/hs_mannheim/informatik/chess/view/GameGui.java +++ b/schach/src/main/java/de/hs_mannheim/informatik/chess/view/GameGui.java @@ -105,13 +105,12 @@ public class GameGui { board.fill = GridBagConstraints.BOTH; chessPanel.add(panel); // Button unten rechts - flipBoardButton = new JButton("\u21bb"); // 🔄 - flipBoardButton.setPreferredSize(new Dimension(50, 50)); - flipBoardButton.setBackground(new Color(0x778da9)); - flipBoardButton.setForeground(Color.WHITE); - flipBoardButton.setFocusPainted(false); - flipBoardButton.setFont(new Font("Serif", Font.BOLD, 25)); - flipBoardButton.setToolTipText("Brett drehen"); + flipBoardButton = new JButton("⇵"); + flipBoardButton.setPreferredSize(new Dimension(70, 70)); + flipBoardButton.setFont(new Font("SansSerif", Font.BOLD, 40)); + flipBoardButton.setBackground(new Color(0x5500ff)); + flipBoardButton.setForeground(Color.WHITE); + flipBoardButton.setFocusPainted(false); GridBagConstraints btn = new GridBagConstraints(); btn.gridx = 0; @@ -119,7 +118,7 @@ public class GameGui { btn.weightx = 0.0; btn.weighty = 0.0; btn.anchor = GridBagConstraints.SOUTHEAST; - btn.insets = new Insets(10, 0, 0, 10); + btn.insets = new Insets(10, 0, 0, 0); chessPanel.add(flipBoardButton, btn); @@ -158,7 +157,7 @@ public class GameGui { } } } else { - // Invertiere Zeilen und Spalten! + // Invertiere Zeilen und Spalten for (int row = 0; row < 8; row++) { for (int col = 0; col < 8; col++) { PieceDTO piece = board[7 - row][7 - col];