Is there a way to right-justify centered values? Basically, I want values in a table to be in the center of the cell so that the longest value is centered and all other values are right-justified in relation to the longest value.
Here is a picture depicting what I’m trying to accomplish:
(As this is my first post, I’m not sure if the picture will show up correctly.)
The first column (Value) consists of integer values centered in the column.
The second column (Value 2) is a string representation of those same values, with spaces added to the beginning of the shorter values in an attempt to right-justify them to the longest one (“2048”).
Unfortunately, it’s not as easy as adding one space per “missing” character since this used a proportional font.