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

Add a test to demonstrate a layout bug in Yoga #2346

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

swankjesse
Copy link
Collaborator

We've accidentally set the maximum width of a cell to its maximum height.

We've accidentally set the maximum width of a cell to its
maximum height.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The Square 'A A A' box is broken. We’ve configured it to have a height of 50.dp, but it’s also getting a width of 50.dp.

Copy link
Collaborator

@JakeWharton JakeWharton left a comment

Choose a reason for hiding this comment

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

Is the UIView image what we expect then? Or is it also wrong for different reasons?

@swankjesse
Copy link
Collaborator Author

The lazy layout images don’t support rows well.

@swankjesse swankjesse merged commit 98c04fc into trunk Oct 1, 2024
11 checks passed
@swankjesse swankjesse deleted the jwilson.1001.row_with_fixed_width branch October 1, 2024 19:23
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.

4 participants