Left Justification option for summary table columnsย #1995
Description
It would be useful if there was an option to align/justify the Method column (leftmost column when there's only one namespace and It would be useful if there was an option to align/justify the Method column (leftmost column when there's only one namespace and class). My use case is that I typically name my methods in order of increasing specificity (opposite of DNS).
eg. this:
Method | Metric 1
----------------------------------|-------------
MajorMinorSpecificBaseline | 1
MajorMinorSpecificDoItOneWay | 2
SomeVeryDifferentMinorSpecific | 3
MajorMinorSpecificDoItAnotherWay | 4
Rather than the current:
Method | Metric 1
----------------------------------|-------------
MajorMinorSpecificBaseline | 1
MajorMinorSpecificDoItOneWay | 2
SomeVeryDifferentMinorSpecific | 3
MajorMinorSpecificDoItAnotherWay | 4
With left justification, the bases are aligned which makes it easier for me to quickly scan the column and see what methods are similar. Whereas with right justification there is no alignment between names at all.
My thought was adding something like DefaultTextColumnJustification
to SummaryStyle
with a type of TextJustification
.
From a brief glance, I think the following would need to change:
- Currently
SummaryTableColumn
has aJustify
property, but it is set by whether the inputIColumn
is text or numeric, as there's no justify property onIColumn
SummaryTable
could pass the newDefaultTextColumnJustification
fromSummaryStyle
toSummaryTableColumn
here