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

Fix bugs #695

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Fix bugs #695

wants to merge 10 commits into from

Conversation

M-Adoo
Copy link
Collaborator

@M-Adoo M-Adoo commented Jan 25, 2025

Purpose of this Pull Request

Fix some bugs described in their commits.

Checklist Before Merging

Please ensure the following are completed before merging:

  • If this is linked to an issue, include the link in your description.
  • If you've made changes to the code or documentation, make sure these are updated in the CHANGELOG.md file.
  • If you've introduced any break changes, briefly describe them in the Breaking section of the CHANGELOG.md file.

Additional Information

The bot will replace #pr in CHANGELOG.md with your pull request number. If your branch is out of sync, use git pull --rebase to update it.

If you're unsure about which branch to submit your Pull Request to, or when it will be released after being merged, please refer to our Release Guide.

If you're working on a widget and need help writing test cases, we have some macros that can assist you. Please refer to the Ribir Dev Helper documentation.

@M-Adoo M-Adoo added the B-test Notify bot to start testing label Jan 25, 2025
@M-Adoo M-Adoo enabled auto-merge January 25, 2025 03:34
@M-Adoo M-Adoo removed the B-test Notify bot to start testing label Jan 25, 2025
@M-Adoo M-Adoo added the B-test Notify bot to start testing label Jan 25, 2025
@M-Adoo M-Adoo removed the B-test Notify bot to start testing label Jan 25, 2025
@M-Adoo M-Adoo added the B-test Notify bot to start testing label Jan 25, 2025
@M-Adoo M-Adoo added B-test Notify bot to start testing and removed B-test Notify bot to start testing labels Jan 25, 2025
host.paint(ctx);
}

fn get_transform(&self, host: &dyn Render) -> Option<Transform> {
Copy link
Contributor

Choose a reason for hiding this comment

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

The transform now is used to map to parent, it seems have some bug to get_transform with wrap render which adjust some part of the host but not the entire. Here the padding wrap render will offset the host by the top, left padding, but if the position is in the padding space, it will also be offset by the top left padding, which will be map to Inaccurate position

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-test Notify bot to start testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants