- VSubmenuVanguard.java now uses the new constraints that were added to VSubmenuArchenemy.java and the card detail panel now includes a few gaps around the edges.

This commit is contained in:
Chris
2013-03-05 17:45:40 +00:00
parent cb6ded65a8
commit 1a823c3960

View File

@@ -184,17 +184,17 @@ public enum VSubmenuVanguard implements IVSubmenu<CSubmenuVanguard> {
deckChoosers.add(tempChooser);
avatarLists.add(tempList);
tempPanel.add(tempChooser, "span 1 2, w 44%!, gap 0 0 20px 20px, growy, pushy, wrap");
tempPanel.add(tempChooser, "span 1 2, w 55%!, gap 10px 10px 0px 10px, growy, pushy, wrap");
tempPanel.add(new FLabel.Builder().text("Select Avatar:").build(), "flowy");
tempPanel.add(new FLabel.Builder().text("Select Avatar:").build(), "gap 0px 0px 10px 10px, flowy");
JScrollPane scrAvatar = new FScrollPane(tempList, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
tempPanel.add(scrAvatar, "h 90%!,wrap");
tempPanel.add(scrAvatar, "h 90%, gap 0px 10px 0px 10px, growy, pushy, wrap");
tempDetail = new CardDetailPanel(null);
cdpAvatarDetails.add(tempDetail);
tempPanel.add(tempDetail, "span 1 2, growy, pushy, growx, pushx");
tempPanel.add(tempDetail, "span 1 2, gap 0px 10px 10px 10px, growy, pushy, growx, pushx");
playerPanels.add(tempPanel);
if (i == 0) {