Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit fce2580

Browse files
authored
Merge pull request #2 from sc2-mkr/gui
Add padding at the bottom of option's checkboxes
2 parents ceeca18 + 44ae060 commit fce2580

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/it/sc2/iregon/aco/gui/Controller.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import it.sc2.iregon.aco.engine.plugin.plugins.Plugin;
88
import javafx.collections.FXCollections;
99
import javafx.fxml.FXML;
10+
import javafx.geometry.Insets;
1011
import javafx.scene.control.*;
1112
import javafx.scene.input.MouseEvent;
1213
import javafx.scene.layout.VBox;
@@ -95,6 +96,7 @@ public JFXCheckBox generateOptionCheckbox(String value, boolean selected) {
9596
JFXCheckBox checkBox = new JFXCheckBox(value);
9697
checkBox.checkedColorProperty().set(Paint.valueOf("#03a9f4"));
9798
checkBox.setSelected(selected);
99+
checkBox.setPadding(new Insets(0, 0, 5, 0));
98100

99101
checkBox.selectedProperty().addListener((observable, oldValue, newValue) -> {
100102
engine.setOption(checkBox.getText(), newValue);

0 commit comments

Comments
 (0)