From ecbac7ea96603d8951f7d3621d6c53afebd15c61 Mon Sep 17 00:00:00 2001 From: Roumen Georgiev Date: Fri, 1 Dec 2017 10:30:18 +0200 Subject: [PATCH] Make ProfileSwitch text 20% larger --- .../Overview/graphExtensions/PointsWithLabelGraphSeries.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphExtensions/PointsWithLabelGraphSeries.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphExtensions/PointsWithLabelGraphSeries.java index a5fe5b7700..98bdaf83ee 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphExtensions/PointsWithLabelGraphSeries.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphExtensions/PointsWithLabelGraphSeries.java @@ -236,8 +236,8 @@ public class PointsWithLabelGraphSeries e } else if (value.getShape() == Shape.PROFILE) { mPaint.setStrokeWidth(0); if (value.getLabel() != null) { - mPaint.setTextSize((int) (value.getSize() * 3)); - mPaint.setTextSize(scaledTextSize); + //mPaint.setTextSize((int) (value.getSize() * 3)); + mPaint.setTextSize((float) (scaledTextSize*1.2)); mPaint.setTypeface(Typeface.create(Typeface.DEFAULT, Typeface.BOLD)); Rect bounds = new Rect(); mPaint.getTextBounds(value.getLabel(), 0, value.getLabel().length(), bounds);