Skip to content

Commit

Permalink
Merge pull request #2621 from patrick-iv/fix_default_text_size
Browse files Browse the repository at this point in the history
Fix for default text size being set in PX instead of DP
  • Loading branch information
danielgindi authored Feb 21, 2017
2 parents 528e2e8 + 6966b81 commit 886cc9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 886cc9f

Please sign in to comment.