mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Stack visibility style update.
This commit is contained in:
@@ -132,8 +132,8 @@ public class ViewTabber {
|
|||||||
|
|
||||||
pnlStack.removeAll();
|
pnlStack.removeAll();
|
||||||
vtpTabber.showTab(0);
|
vtpTabber.showTab(0);
|
||||||
Font font = skin.getFont1().deriveFont(Font.PLAIN, 11);
|
Font font = skin.getFont1().deriveFont(Font.PLAIN, 14);
|
||||||
Border border = new MatteBorder(0, 0, 1, 0, Color.black);
|
Border border = new MatteBorder(0, 0, 1, 0, skin.getClrBorders());
|
||||||
|
|
||||||
for (int i = stack.size() - 1; 0 <= i; i--) {
|
for (int i = stack.size() - 1; 0 <= i; i--) {
|
||||||
isOptional = stack.peekAbility(i).isOptionalTrigger() && stack.peekAbility(i).getSourceCard().getController().isHuman() ? "(OPTIONAL) " : "";
|
isOptional = stack.peekAbility(i).isOptionalTrigger() && stack.peekAbility(i).getSourceCard().getController().isHuman() ? "(OPTIONAL) " : "";
|
||||||
@@ -143,6 +143,7 @@ public class ViewTabber {
|
|||||||
tar.setOpaque(false);
|
tar.setOpaque(false);
|
||||||
tar.setBorder(border);
|
tar.setBorder(border);
|
||||||
tar.setFont(font);
|
tar.setFont(font);
|
||||||
|
tar.setForeground(skin.getClrText());
|
||||||
tar.setFocusable(false);
|
tar.setFocusable(false);
|
||||||
tar.setEditable(false);
|
tar.setEditable(false);
|
||||||
tar.setLineWrap(true);
|
tar.setLineWrap(true);
|
||||||
@@ -158,7 +159,7 @@ public class ViewTabber {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
pnlStack.add(tar, "w 100%!");
|
pnlStack.add(tar, "w 95%!, gapleft 3%, gaptop 1%");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user