1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-29 10:50:28 +00:00

Tweak column widths for clipboard and Export default

The old values were pretty optimistic in terms of the length of labels.
Short labels in all caps are very retro but sort of annoying to read,
so most disassemblies use longer ones.  The new defaults are more
accommodating for the way labels are actually used.
This commit is contained in:
Andy McFadden 2020-07-16 10:48:03 -07:00
parent b280fb58ba
commit eecace8988
2 changed files with 2 additions and 2 deletions

View File

@ -1425,7 +1425,7 @@ namespace SourceGen {
typeof(ClipLineFormat), typeof(ClipLineFormat),
(int)ClipLineFormat.AssemblerSource); (int)ClipLineFormat.AssemblerSource);
int[] rightWidths = new int[] { 16, 8, 18, 100 }; int[] rightWidths = new int[] { 16, 6, 16, 80 };
Exporter.ActiveColumnFlags colFlags = Exporter.ActiveColumnFlags.None; Exporter.ActiveColumnFlags colFlags = Exporter.ActiveColumnFlags.None;
if (format == ClipLineFormat.Disassembly) { if (format == ClipLineFormat.Disassembly) {

View File

@ -219,7 +219,7 @@ namespace SourceGen.WpfGui {
GenerateImageFiles = GenerateImageFiles =
AppSettings.Global.GetBool(AppSettings.EXPORT_GENERATE_IMAGE_FILES, true); AppSettings.Global.GetBool(AppSettings.EXPORT_GENERATE_IMAGE_FILES, true);
int[] colWidths = new int[] { 9, 8, 11, 72 }; // 100-col output int[] colWidths = new int[] { 16, 8, 18, 100 }; // wide output
string colStr = AppSettings.Global.GetString(AppSettings.EXPORT_COL_WIDTHS, null); string colStr = AppSettings.Global.GetString(AppSettings.EXPORT_COL_WIDTHS, null);
try { try {
if (!string.IsNullOrEmpty(colStr)) { if (!string.IsNullOrEmpty(colStr)) {