Always show fractional MB, or never

Feature requests not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
mcandre
Posts: 44
Joined: Wed Dec 19, 2007 4:42 am

Always show fractional MB, or never

Post by mcandre »

When speed and total bytes uploaded/downloaded are displayed, either always show fractional MB (e.g. ... .0 MB) or never (... MB). Showing MB some of the time creates an annoying alignment jitter, especially in mobile browsers using the Web UI.
killemov
Posts: 535
Joined: Sat Jul 31, 2010 5:04 pm

Re: Always show fractional MB, or never

Post by killemov »

Aligning number and letter combinations is tricky even without decimals. Only if you use a monospace font then you can do this without using separate fields for the number and the unit.
mcandre
Posts: 44
Joined: Wed Dec 19, 2007 4:42 am

Re: Always show fractional MB, or never

Post by mcandre »

sprintf("%07d", speedInMegabytes) would do very well for the foreseeable future
Post Reply