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

recomputing text margins in onMeasure to handle dynamic text changes #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nkukday
Copy link

@nkukday nkukday commented Sep 23, 2016

onSizeChanged() is called when a text longer than size of current layout is set and the margins are recomputed in setup(). The margins also need to be recomputed to center the text when the text is smaller or equal to the size of the current layout.

issue:
#65

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

Successfully merging this pull request may close these issues.

None yet

1 participant