You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Increase the system font size in the Android settings. (Anything that causes a MediaQuery.textScaleFactor >= 1.1)
Open the app.
What did you expect?
There should be no layout issues.
What happened instead?
The height given for the SongTitle widget is not enough to contain the two lines of text. This is because kSongTileHeight doesn't take the textScaleFactor into account.
Additionally, the tab header widget on the bottom is partially hidden behind the bottom sheet.
For context, the default font size setting on my phone produces a textScaleFactor of 1.1. The old version of Sweyer (1.0.7) does not have this problem.
We need to report this bug to styled_text: when using a Text.rich with WidgetSpan with StyledText as a child, and both Text.rich and StyledText have a text style, the textScaleFactor scales the text twice as much, unless we explicitly specify textScaleFactor = 1.0 on either of them.
I don't have time right now to make this into a detailed issue with a reproducible code sample - so leaving a comment here to come back to doing this later.
Steps to reproduce
MediaQuery.textScaleFactor >= 1.1
)What did you expect?
There should be no layout issues.
What happened instead?
The height given for the
SongTitle
widget is not enough to contain the two lines of text. This is becausekSongTileHeight
doesn't take thetextScaleFactor
into account.Additionally, the tab header widget on the bottom is partially hidden behind the bottom sheet.
For context, the default font size setting on my phone produces a
textScaleFactor
of1.1
. The old version of Sweyer (1.0.7
) does not have this problem.Sweyer version
Latest on the
1.0.8
branch; 4460b5aAndroid version
No response
The text was updated successfully, but these errors were encountered: