minor changes to spacing.

This commit is contained in:
Josh Ashton
2022-11-16 14:23:14 -07:00
parent c78b64cd06
commit b2bc9ad6a9
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ public class GUImanager extends JFrame {
new ChooseAbilityScoresPanel(createNavPanel(27), statOptions, statDescriptions, selectedStats, "Step 3: Choose Your Ability Scores")
};
this.currentPanel = 1;
this.currentPanel = 3;
this.lastPanel = currentPanel - 1;
this.nextPanel = currentPanel + 1;
@@ -15,10 +15,8 @@ public class ChooseAbilityScoresPanel extends JPanel implements AppTheme {
private DefaultButton[] statInfoButtons;
private JLabel[] statLabels;
private String[] statOptions;
private InfoPanel infoPanel;
private NavPanel navPanel;
private int[] selectedStats;
private int selectedStatIndex;
@@ -125,11 +123,11 @@ public class ChooseAbilityScoresPanel extends JPanel implements AppTheme {
DefaultButton increaseButton = new DefaultButton("+");
increaseButton.setBounds(90, 50, 30, 30);
increaseButton.setBounds(90, 50, 50, 50);
increaseButton.addActionListener(e -> increase(statIndex));
DefaultButton decreaseButton = new DefaultButton("-");
decreaseButton.setBounds(21, 50, 30, 30);
decreaseButton.setBounds(21, 50, 50, 50);
decreaseButton.addActionListener(e -> decrease(statIndex));
subPanel.add(decreaseButton);