mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Minor text change
- CheckStyle.
This commit is contained in:
@@ -106,7 +106,7 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
|
||||
private final JLabel lblPrizeUnrestricted = new FLabel.Builder().text("All cards will be available to win.").build();
|
||||
private final JLabel lblPrizeSameAsStarting = new FLabel.Builder().text("Only sets found in starting pool will be available.").build();
|
||||
|
||||
private final JCheckBox cboAllowUnlocks = new FCheckBox("Allow unlock of not included editions");
|
||||
private final JCheckBox cboAllowUnlocks = new FCheckBox("Allow unlock of additional editions");
|
||||
|
||||
private final FLabel btnEmbark = new FLabel.Builder().opaque(true)
|
||||
.fontSize(16).hoverable(true).text("Embark!").build();
|
||||
@@ -133,8 +133,8 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
|
||||
cbxCustomDeck.removeAllItems();
|
||||
CardCollections decks = Singletons.getModel().getDecks();
|
||||
IStorage<DeckGroup> storage = newVal == StartingPoolType.SealedDeck ? decks.getSealed() : decks.getDraft();
|
||||
if( newVal == StartingPoolType.SealedDeck ) {
|
||||
for(DeckGroup d : storage ) {
|
||||
if (newVal == StartingPoolType.SealedDeck) {
|
||||
for (DeckGroup d : storage) {
|
||||
cbxCustomDeck.addItem(d.getHumanDeck());
|
||||
}
|
||||
}
|
||||
@@ -173,7 +173,6 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
|
||||
group1.add(radExpert);
|
||||
radEasy.setSelected(true);
|
||||
|
||||
|
||||
cbxStartingPool.addItem(StartingPoolType.Complete);
|
||||
cbxStartingPool.addItem(StartingPoolType.Rotating);
|
||||
cbxStartingPool.addItem(StartingPoolType.CustomFormat);
|
||||
@@ -247,7 +246,6 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
|
||||
pnlDifficultyMode.setOpaque(false);
|
||||
pnlOptions.add(pnlDifficultyMode, "w 40%");
|
||||
|
||||
|
||||
JPanel pnlRestrictions = new JPanel();
|
||||
final String constraints = "h 27px!, ";
|
||||
final String lblWidth = "w 40%, ";
|
||||
@@ -261,7 +259,7 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
|
||||
pnlRestrictions.add(cbxStartingPool, constraints + cboWidthStart);
|
||||
|
||||
/* out of these 3 groups only one will be visible */
|
||||
pnlRestrictions.add(lblUnrestricted, constraints + hidemode + "spanx 2" );
|
||||
pnlRestrictions.add(lblUnrestricted, constraints + hidemode + "spanx 2");
|
||||
|
||||
pnlRestrictions.add(lblPreconDeck, constraints + lblWidthStart);
|
||||
pnlRestrictions.add(cbxPreconDeck, constraints + cboWidthStart);
|
||||
@@ -278,12 +276,11 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
|
||||
pnlRestrictions.add(lblPrizedCards, constraints + lblWidth);
|
||||
pnlRestrictions.add(cbxPrizedCards, constraints + cboWidth);
|
||||
|
||||
|
||||
pnlRestrictions.add(lblPrizeFormat, constraints + lblWidthStart);
|
||||
pnlRestrictions.add(cbxPrizeFormat, constraints + cboWidthStart); // , skip 1
|
||||
pnlRestrictions.add(btnPrizeDefineCustomFormat, constraints + hidemode + "spanx 2, w 240px");
|
||||
pnlRestrictions.add(lblPrizeSameAsStarting, constraints + hidemode + "spanx 2" );
|
||||
pnlRestrictions.add(lblPrizeUnrestricted, constraints + hidemode + "spanx 2" );
|
||||
pnlRestrictions.add(lblPrizeSameAsStarting, constraints + hidemode + "spanx 2");
|
||||
pnlRestrictions.add(lblPrizeUnrestricted, constraints + hidemode + "spanx 2");
|
||||
|
||||
pnlRestrictions.add(cboAllowUnlocks, constraints + "spanx 2, ax right");
|
||||
// cboAllowUnlocks.setOpaque(false);
|
||||
@@ -349,8 +346,6 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
|
||||
return btnEmbark;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//========== Overridden from IVDoc
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
||||
Reference in New Issue
Block a user