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

SimplePagerTitleView now returns correct ContentLeft and ContentRight… #77

Merged
merged 1 commit into from
Dec 26, 2018

Conversation

siralam
Copy link

@siralam siralam commented Oct 3, 2017

… if text has a linebreak

fixes #76

Effect:
_20171003_170536

} else {
longestString = getText().toString();
}
getPaint().getTextBounds(longestString, 0, longestString.length(), bound);
Copy link
Owner

@hackware1993 hackware1993 Oct 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be you should measure every broken string,the longest string which has max length doesn't mean max width after measured. Forgive my poor English.

@hackware1993 hackware1993 merged commit 6d1c490 into hackware1993:master Dec 26, 2018
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.

If title has 2 lines, MODE_WRAP_CONTENT is not wrapping indicator width correctly
2 participants