Closed mat1th closed 1 month ago
Thanks for reporting! Parley supports font scaling indeed. We will look into it 👍
Reason that the send button doesn't scale, is because it is an image, not text necessarily. And enlarging it will fill in width probably as well (making the type area very small). And the text area can be multiline. Although with big texts the button should probably scale better. We'll check what we can to with this one.
Thank you for looking into it.
It does also have a bug with smaller font scales:
The cursor is not aligned with the placeholder.
The first bug could be caused by the @ParleyScaledFont
property wrapper on both ParleyMessageViewAppearance.messageRegularFont
and ParleyTextView.regularFont
. The property wrapper is now applied 2 times.
This issue with the dateLabel is fixed in this PR: https://github.com/parley-messaging/ios-library/pull/98
Describe the bug When applying font scaling in the app, some labels and buttons are not properly scaled.
To Reproduce
Expected behaviour I do expect that the SDK allows updating the font scale, and the UI does size properly. Elements that are incorrect are:
Screenshots