aboutsummaryrefslogtreecommitdiffstats
path: root/gui/widget/output.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widget/output.go')
-rw-r--r--gui/widget/output.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget/output.go b/gui/widget/output.go
index cfbdade..ecca18c 100644
--- a/gui/widget/output.go
+++ b/gui/widget/output.go
@@ -35,7 +35,7 @@ Loop:
func outputDraw(v float64, r image.Rectangle) func(draw.Image) image.Rectangle {
return func(drw draw.Image) image.Rectangle {
- text.Draw([]byte(fmt.Sprintf("%.3f", v)), drw, r, BLACK, WHITE)
+ text.Draw([]byte(fmt.Sprintf("%.3f", v)), drw, r, BLACK, WHITE, text.ALIGN_RIGHT)
return r
}
}