Skip to content
Commit c6386ab1 authored by Roy Chou's avatar Roy Chou
Browse files

fix(non linear font scaling): fix QQS clock text right padding may not proper...

fix(non linear font scaling): fix QQS clock text right padding may not proper when font sclaing changed

After increasing the font size and resetting to normal, the clock text in QQS has too much right padding. The reason is the clock cached wid
th are not reset so it would keep using the width that cached for large font size. Therefore, we reset the cached width when font scaling changed so that it would be updated when next onMeasure for clock view.

Bug: 282111042
Test: manually - video attached in bug
Change-Id: If1a0855e8676435721913d714b4fa584ef9377e6
parent 6450c2e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment