Reduce the size of the font for the audit report.

Change up the scroll window to allow for horizontal movement.

Add code/code2 info for easier reference.
This commit is contained in:
Tim Scott
2019-03-10 15:39:10 -05:00
parent 89df7694d9
commit eafa4418d6

View File

@@ -223,8 +223,8 @@ public enum VSubmenuDownloaders implements IVSubmenu<CSubmenuDownloaders> {
cniSB.append("-------------------\n\n"); cniSB.append("-------------------\n\n");
for (CardEdition e : editions) { for (CardEdition e : editions) {
nifSB.append("Edition: " + e.getName() + "\n"); nifSB.append("Edition: " + e.getName() + " " + "(" + e.getCode() + "/" + e.getCode2() + ")\n");
cniSB.append("Edition: " + e.getName() + "\n"); cniSB.append("Edition: " + e.getName() + " " + "(" + e.getCode() + "/" + e.getCode2() + ")\n");
// perform sorting on the cards for this edition... // perform sorting on the cards for this edition...
String lastName = null; String lastName = null;
@@ -317,17 +317,17 @@ public enum VSubmenuDownloaders implements IVSubmenu<CSubmenuDownloaders> {
public void showCardandImageAuditData() { public void showCardandImageAuditData() {
final FTextArea tar = new FTextArea("Auditing card and image data. Please wait..."); final FTextArea tar = new FTextArea("Auditing card and image data. Please wait...");
tar.setOpaque(true); tar.setOpaque(true);
tar.setLineWrap(true); tar.setLineWrap(false);
tar.setWrapStyleWord(true); tar.setWrapStyleWord(false);
tar.setEditable(false); tar.setEditable(false);
tar.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); tar.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
tar.setFont(FSkin.getRelativeFixedFont(16)); tar.setFont(FSkin.getRelativeFixedFont(12));
tar.setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT)); tar.setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
tar.setBackground(FSkin.getColor(FSkin.Colors.CLR_THEME2)); tar.setBackground(FSkin.getColor(FSkin.Colors.CLR_THEME2));
final FScrollPane scr = new FScrollPane(tar, true, ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, final FScrollPane scr = new FScrollPane(tar, true, ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
_showDialog(scr, new Runnable() { _showDialog(scr, new Runnable() {
@Override @Override