Skip to content
Snippets Groups Projects
Commit ee032e50 authored by Scott Langum Du Plessis's avatar Scott Langum Du Plessis
Browse files

Centered everything

parent ecadb6dc
No related branches found
No related tags found
1 merge request!5Make gui
......@@ -57,9 +57,12 @@ public class Main extends Application {
bottomHalf.getChildren().add(heartsText);
bottomHalf.getChildren().add(queenSpadesText);
bottomHalf.getChildren().add(fiveFlushText);
HBox container = new HBox();
container.getChildren().add(bottomHalf);
container.setAlignment(Pos.CENTER);
root.getChildren().add(topHalf);
root.getChildren().add(bottomHalf);
root.getChildren().add(container);
root.setFillWidth(true);
stage.setScene(new Scene(root));
stage.setMaximized(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment