minor changes to spacing.
This commit is contained in:
@@ -40,7 +40,7 @@ public class GUImanager extends JFrame {
|
|||||||
new ChooseAbilityScoresPanel(createNavPanel(27), statOptions, statDescriptions, selectedStats, "Step 3: Choose Your Ability Scores")
|
new ChooseAbilityScoresPanel(createNavPanel(27), statOptions, statDescriptions, selectedStats, "Step 3: Choose Your Ability Scores")
|
||||||
};
|
};
|
||||||
|
|
||||||
this.currentPanel = 1;
|
this.currentPanel = 3;
|
||||||
this.lastPanel = currentPanel - 1;
|
this.lastPanel = currentPanel - 1;
|
||||||
this.nextPanel = currentPanel + 1;
|
this.nextPanel = currentPanel + 1;
|
||||||
|
|
||||||
|
|||||||
@@ -15,10 +15,8 @@ public class ChooseAbilityScoresPanel extends JPanel implements AppTheme {
|
|||||||
private DefaultButton[] statInfoButtons;
|
private DefaultButton[] statInfoButtons;
|
||||||
private JLabel[] statLabels;
|
private JLabel[] statLabels;
|
||||||
private String[] statOptions;
|
private String[] statOptions;
|
||||||
|
|
||||||
private InfoPanel infoPanel;
|
private InfoPanel infoPanel;
|
||||||
private NavPanel navPanel;
|
private NavPanel navPanel;
|
||||||
|
|
||||||
private int[] selectedStats;
|
private int[] selectedStats;
|
||||||
private int selectedStatIndex;
|
private int selectedStatIndex;
|
||||||
|
|
||||||
@@ -125,11 +123,11 @@ public class ChooseAbilityScoresPanel extends JPanel implements AppTheme {
|
|||||||
|
|
||||||
|
|
||||||
DefaultButton increaseButton = new DefaultButton("+");
|
DefaultButton increaseButton = new DefaultButton("+");
|
||||||
increaseButton.setBounds(90, 50, 30, 30);
|
increaseButton.setBounds(90, 50, 50, 50);
|
||||||
increaseButton.addActionListener(e -> increase(statIndex));
|
increaseButton.addActionListener(e -> increase(statIndex));
|
||||||
|
|
||||||
DefaultButton decreaseButton = new DefaultButton("-");
|
DefaultButton decreaseButton = new DefaultButton("-");
|
||||||
decreaseButton.setBounds(21, 50, 30, 30);
|
decreaseButton.setBounds(21, 50, 50, 50);
|
||||||
decreaseButton.addActionListener(e -> decrease(statIndex));
|
decreaseButton.addActionListener(e -> decrease(statIndex));
|
||||||
|
|
||||||
subPanel.add(decreaseButton);
|
subPanel.add(decreaseButton);
|
||||||
|
|||||||
Reference in New Issue
Block a user