mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
made the game text a header instead
This commit is contained in:
@@ -32,7 +32,7 @@ public final class ChallengePopup extends PopupWidget {
|
||||
var challengerHeader = Primitive.header(challenger, false);
|
||||
|
||||
var toAGameOfText = Primitive.text("to-a-game-of");
|
||||
var gameText = Primitive.text(game, false);
|
||||
var gameHeader = Primitive.header(game, false);
|
||||
|
||||
var acceptButton = Primitive.button("accept", () -> {
|
||||
onAccept.accept(playerInformation);
|
||||
@@ -44,7 +44,7 @@ public final class ChallengePopup extends PopupWidget {
|
||||
challengeText,
|
||||
challengerHeader,
|
||||
toAGameOfText,
|
||||
gameText,
|
||||
gameHeader,
|
||||
Primitive.separator(),
|
||||
Primitive.hbox(
|
||||
acceptButton,
|
||||
|
||||
Reference in New Issue
Block a user