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

The x-coordinate of the grandson node of the column wrapping node is incorrect. #1

Closed
haoyu234 opened this issue Oct 25, 2024 · 1 comment · Fixed by #2
Closed

The x-coordinate of the grandson node of the column wrapping node is incorrect. #1

haoyu234 opened this issue Oct 25, 2024 · 1 comment · Fixed by #2
Assignees

Comments

@haoyu234
Copy link
Owner

node1 is root node. with LayoutBoxWrap or LayoutBoxColumn flags
node2 is a child of node1. margin: 5, 5, 5, 5
node3 is a child of node2. margin: 5, 5, 5, 5

result:
image
expected:
image
layout files:
grandsonx.json

@haoyu234 haoyu234 self-assigned this Oct 25, 2024
@haoyu234
Copy link
Owner Author

upstream: randrew/layout#20

@haoyu234 haoyu234 linked a pull request Oct 25, 2024 that will close this issue
haoyu234 added a commit that referenced this issue Oct 26, 2024
…n-node-of-the-column-wrapping-node-is-incorrect

fix #1, 重算x坐标后同时更新子节点
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 a pull request may close this issue.

1 participant