wordpress-mobile / AztecEditor-Android

A reusable native Android rich text editor component.
Mozilla Public License 2.0
675 stars 112 forks source link

Placeholder doesn't have correct proportions when drawing the first time #1028

Closed planarvoid closed 1 year ago

planarvoid commented 1 year ago

Fix

When implementing a placeholder in the Day One repo I've discovered that the width used when building placeholder drawable is incorrect because it doesn't take into account the editor padding and the arbitrary 20 px that's used when drawing placeholders.

Review

@[USER_NAME]

Make sure strings will be translated: