mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Center the Scheme Deck Editor and the Planar Deck Editor buttons.
This commit is contained in:
@@ -108,7 +108,7 @@ public enum VSubmenuArchenemy implements IVSubmenu<CSubmenuArchenemy> {
|
||||
radioPaneContainer.add(radioPane);
|
||||
settingsPanel.add(radioPaneContainer, "span 1 2");
|
||||
settingsPanel.add(cbUseDefaultSchemes);
|
||||
settingsPanel.add(lblEditor, "w pref+24, h pref+8");
|
||||
settingsPanel.add(lblEditor, "w pref + 24, h pref + 8, ax center");
|
||||
tabPane.add("Settings", settingsPanel);
|
||||
|
||||
for (Deck schemeDeck : Singletons.getModel().getDecks().getScheme()) {
|
||||
@@ -291,6 +291,9 @@ public enum VSubmenuArchenemy implements IVSubmenu<CSubmenuArchenemy> {
|
||||
return deckChoosers;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the currentNumTabsShown
|
||||
*/
|
||||
public int getNumPlayers() {
|
||||
return currentNumTabsShown;
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ public enum VSubmenuPlanechase implements IVSubmenu<CSubmenuPlanechase> {
|
||||
}
|
||||
settingsPanel.add(radioPane, "span 1 2");
|
||||
settingsPanel.add(cbUseDefaultPlanes);
|
||||
settingsPanel.add(lblEditor, "w pref+24, h pref+8");
|
||||
settingsPanel.add(lblEditor, "w pref + 24, h pref + 8, ax center");
|
||||
tabPane.add("Settings", settingsPanel);
|
||||
|
||||
//Player panels (Human + 7 AIs)
|
||||
@@ -292,6 +292,9 @@ public enum VSubmenuPlanechase implements IVSubmenu<CSubmenuPlanechase> {
|
||||
return deckChoosers;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the currentNumTabsShown
|
||||
*/
|
||||
public int getNumPlayers() {
|
||||
return currentNumTabsShown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user