livesplit-core
livesplit-core copied to clipboard
Adjust splits column width based on the current font
In the original LiveSplit we measure the width of 88:88:88 I believe and use that as the column width. We should do something similar here instead of hardcoding a width.
LiveSplit uses 9:00:00
for deltas and 24:00:00
otherwise (source).
Would this require a new function on ResourceAllocator
just for querying the width of a given string? Or should it be even more specific and take the number of digits/colons as function arguments?
Nah, I'd say the splits simply should have labels for these around.