Commit graph

3 commits

Author SHA1 Message Date
yueh 71396637e3 Organise imports 2016-09-17 17:05:07 +02:00
yueh ab689f2a48 Code format 2016-01-01 01:48:15 +01:00
thatsIch cc29230ce5 Fixes #1256: Using new size logic to determine the abbreviation for a stack size
Removes the usage of the old methods, since they were pretty, but not applicable for our use case. The displayed strings are determined by the size of the to be rendered string. Now the algorithm tries to use as much width as possible before trying to trim it down.

Added tests to reflect the changes and expected behaviour. Also using specific interfaces for the corresponding behaviour to shield from potential calls to the underlying enum singleton implementation.
2015-04-13 14:59:44 +02:00