Skip to content

Commit 60b05ac

Browse files
committed
Should adjust text size after changing typeface
1 parent c81a144 commit 60b05ac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AutoFitTextViewLibrary/src/com/lb/auto_fit_textview/AutoResizeTextView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public void setTypeface(final Typeface tf)
114114
if(paint==null)
115115
paint=new TextPaint(getPaint());
116116
paint.setTypeface(tf);
117+
adjustTextSize();
117118
super.setTypeface(tf);
118119
}
119120

0 commit comments

Comments
 (0)