Skip to content
Snippets Groups Projects
Commit 61e68ae2 authored by Magnus Eik's avatar Magnus Eik
Browse files

Fix alignment issue in GUI.

parent 462e7f1d
No related branches found
No related tags found
No related merge requests found
......@@ -357,6 +357,7 @@ public class ChaosGameGui implements ChaosGameObserver, GuiButtonObserver {
Region colorRegion = new Region();
colorRegion.setMinWidth(30);
colorBox.getChildren().addAll(colorCheckBox, colorRegion, colorLabel);
colorBox.setAlignment(Pos.CENTER);
colorVBox.setPadding(new Insets(5, 5, 5, 5));
colorVBox.getChildren().addAll(colorHeaderLabel, colorBox);
colorVBox.setAlignment(Pos.CENTER);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment