mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- 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:
@@ -184,17 +184,17 @@ public enum VSubmenuVanguard implements IVSubmenu<CSubmenuVanguard> {
|
|||||||
deckChoosers.add(tempChooser);
|
deckChoosers.add(tempChooser);
|
||||||
avatarLists.add(tempList);
|
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);
|
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);
|
tempDetail = new CardDetailPanel(null);
|
||||||
cdpAvatarDetails.add(tempDetail);
|
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);
|
playerPanels.add(tempPanel);
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user