Merge pull request #2621 from patrick-iv/fix_default_text_size

Fix for default text size being set in PX instead of DP
This commit is contained in:
Daniel Cohen Gindi 2017-02-21 16:36:02 +02:00 committed by GitHub
commit 886cc9f85d

View file

@ -36,7 +36,7 @@ public abstract class ComponentBase {
/**
* the text size of the labels
*/
protected float mTextSize = 10f;
protected float mTextSize = Utils.convertDpToPixel(10f);
/**
* the text color to use for the labels