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
When the font-size is increased via the system accessibility settings (fontScale), then the subtitle is being cutoff on the bottom despite using wrap_content on the toolbar.
Expected behavior:
Toolbar should grow in height and keep the default paddings, and center the title/subtitle combo.
d4rken
changed the title
[MaterialToolbar] Subtitle is cut off when font-size is increased
[MaterialToolbar] Subtitle is cut off when font-size is increased via accessibility options
Mar 14, 2024
d4rken
added a commit
to d4rken-org/sdmaid-se
that referenced
this issue
Mar 14, 2024
Unfortunately I think it's a general issue to deal with font scales. Paul, do you know if we have any plans to solve this on Views? (Adaptive components on Compose will solve this, btw.)
d4rken
added a commit
to d4rken-org/sdmaid-se
that referenced
this issue
Mar 15, 2024
Description:
When the font-size is increased via the system accessibility settings (
fontScale
), then the subtitle is being cutoff on the bottom despite usingwrap_content
on the toolbar.Expected behavior:
Toolbar should grow in height and keep the default paddings, and center the title/subtitle combo.
Source code:
https://github.com/d4rken-org/sdmaid-se/blob/e10ade68a4e2cae6cccf963862c318e29ba3acf7/app/src/main/res/layout/appcontrol_list_fragment.xml#L8
https://github.com/d4rken-org/sdmaid-se/blob/e10ade68a4e2cae6cccf963862c318e29ba3acf7/app/src/main/res/values/styles.xml#L194
Android API version:
AFAIK, all versions, I tested on Android 13 and 14.
Material Library version:
`1.11.0
Device:
Pixel 6 (and others)
The text was updated successfully, but these errors were encountered: