Commit f2c31110 authored by Erreiip's avatar Erreiip
Browse files

Merge branch 'main' of github.com:Ciliste/JeuAssemblage

parents f2c58b73 86451cd0
Loading
Loading
Loading
Loading
+2 B (672 B)
Loading image diff...
+11 −1
Changes for jeuAssemblage/src/view/screen/MainScreen.java: 11 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -21,13 +21,19 @@ public class MainScreen extends JPanel {

        JButton btnSolo    = new JButton("SOLO");
        JButton btnMulti   = new JButton("MULTIJOUEUR");
        JButton btnQuitter = new JButton("Quitter");

        JButton btnProfile = new JButton("PROFIL");

        JButton btnQuitter = new JButton("QUITTER");

        BoxLayout layout = new BoxLayout(this, BoxLayout.Y_AXIS);
        
        // Center the buttons
        btnSolo.setAlignmentX(CENTER_ALIGNMENT);
        btnMulti.setAlignmentX(CENTER_ALIGNMENT);

        btnProfile.setAlignmentX(CENTER_ALIGNMENT);

        btnQuitter.setAlignmentX(CENTER_ALIGNMENT);

        setLayout(layout);
@@ -42,6 +48,10 @@ public class MainScreen extends JPanel {

        add(Box.createVerticalStrut(50));

        add(btnProfile);

        add(Box.createVerticalStrut(50));

        add(btnQuitter);

        add(Box.createVerticalGlue());
−219 B (2.23 KiB)
Loading image diff...