mirror of
https://github.com/guezoloic/racing-game.git
synced 2026-03-28 18:03:50 +00:00
fix: ajout layout dans class parent
This commit is contained in:
@@ -33,11 +33,6 @@ public class Dashboard extends GameView
|
||||
|
||||
init(fn);
|
||||
|
||||
// mettre un layout (text au centre et bouton en bas)
|
||||
// this.setLayout(new BorderLayout());
|
||||
// this.add(label, BorderLayout.CENTER);
|
||||
// this.add(button, BorderLayout.SOUTH);
|
||||
this.setLayout(new BorderLayout());
|
||||
this.add(label, BorderLayout.CENTER);
|
||||
this.add(button, BorderLayout.SOUTH);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user