Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center text doesn't work with multi-line text. #10

Open
slseif opened this issue Jan 2, 2023 · 0 comments
Open

Center text doesn't work with multi-line text. #10

slseif opened this issue Jan 2, 2023 · 0 comments

Comments

@slseif
Copy link

slseif commented Jan 2, 2023

Describe the bug
Center text doesn't work with multi-line text.

To Reproduce
Steps to reproduce the behavior:

  1. Create an AnimatedButton with long text than one line.
  2. Set the textMaxLine to 2,
  3. Set the textAlignment to center,
  4. Run the App
  5. The text is not centered while if we reduce the text to be displayed on one line it will be centered.

Expected behavior
we expected to see the text center.

Screenshots
image

Smartphone (please complete the following information):

  • Device: Samsung Note 8
  • OS: Android 10
  • Version: 2.0.2

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant