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

getMeasuredHeight returns bad value #511

Open
alonrz opened this issue Oct 4, 2019 · 0 comments
Open

getMeasuredHeight returns bad value #511

alonrz opened this issue Oct 4, 2019 · 0 comments

Comments

@alonrz
Copy link

alonrz commented Oct 4, 2019

Using version 1.1.0

Attempting to measure with:

width = MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.AT_MOST);
height = MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
flexbox.measure(width, height);
return flexbox.getMeasuredHeight()

It will return the same height weather the row wraps to 2 rows or not.
Is there any value that states if the row is wrapping and to how many for manual calculations?

@alonrz alonrz closed this as completed Oct 4, 2019
@alonrz alonrz reopened this Oct 4, 2019
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