Skip to content

Commit

Permalink
Phobos, Deimos, Phoebe, Hyperion, Nereid, Proteus, moons of Pluto
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokuijpers committed Jan 5, 2022
1 parent 168db99 commit b5be91a
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 111 deletions.
43 changes: 13 additions & 30 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/main/java/application/BodySelectorPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class BodySelectorPanel extends Stage {

// Definition of constant values
private static final int PANELWIDTH = 370;
private static final int PANELHEIGHT = 290;
private static final int PANELHEIGHT = 315;
private static final int CHECKBOXWIDTH = 110;
private static final int GAPSIZE = 10;
private static final int BORDERSIZE = 10;
Expand Down Expand Up @@ -94,7 +94,7 @@ public CheckBox createCheckBox(String label, String toolTipText) {
checkBox.setTooltip(toolTip);
grid.add(checkBox,colIndex,rowIndex,horsize,versize);
rowIndex++;
if (rowIndex >= 10) {
if (rowIndex >= 11) {
rowIndex = 0;
colIndex++;
}
Expand Down
Loading

0 comments on commit b5be91a

Please sign in to comment.