Battery widget not scaling text size properly
ljustice-riis opened this issue · 0 comments
ljustice-riis commented
When trying to use a text size in sp for xml attribute uxsdk_singlePercentTextSize
or uxsdk_dualPercentTextSize
, the font size is much larger than anticipated. It seems to be because DisplayUtil.pxToSp(context, it)
is missing in initAttributes()
in BatteryWidget.kt
when setting the text size.
This behavior is inconsistent with similar widgets like FlightModeWidget