From: Keith Packard Date: Sun, 10 Feb 2013 08:40:59 +0000 (-0800) Subject: altosui: Adjust graph voltage tool-tip value format X-Git-Tag: altosdroid_v1.2-1~122 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=32270296671aac3b3ba15f9c1777bcdd77b9c36c;ds=sidebyside altosui: Adjust graph voltage tool-tip value format Voltages are always small, so use more of the space for the fractional value. Signed-off-by: Keith Packard --- diff --git a/altosui/AltosGraph.java b/altosui/AltosGraph.java index 9383824a..5bd756ec 100644 --- a/altosui/AltosGraph.java +++ b/altosui/AltosGraph.java @@ -50,7 +50,7 @@ class AltosVoltage extends AltosUnits { } public int show_fraction(int width) { - return width / 9; + return width / 2; } }