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

Wrong placement for automatically sized container #82

Closed
laurmaedje opened this issue Sep 22, 2022 · 3 comments · Fixed by #1745
Closed

Wrong placement for automatically sized container #82

laurmaedje opened this issue Sep 22, 2022 · 3 comments · Fixed by #1745
Labels
bug Something isn't working layout Related to layout, positioning, etc.

Comments

@laurmaedje
Copy link
Member

#rect(inset: 10pt, width: 100%)[
  #place(bottom   right)[Hi]
  Hello
  #v(2cm)
  World
]
@reknih reknih added bug Something isn't working layout Related to layout, positioning, etc. labels Apr 5, 2023
@astrale-sharp
Copy link
Contributor

This gives
82
What's expected instead?

@Enivex
Copy link
Collaborator

Enivex commented Apr 10, 2023

Presumably Hi should be bottom right and not top right.

@laurmaedje
Copy link
Member Author

Related: #685

laurmaedje added a commit that referenced this issue Jul 18, 2023
This positions placed elements relative to the real container size instead of relative to the base size of the region. This makes its usage more versatile.

Fixes #82
Fixes #685
Fixes #1705
laurmaedje added a commit that referenced this issue Jul 19, 2023
This positions placed elements relative to the real container size instead of relative to the base size of the region. This makes its usage more versatile.

Fixes #82
Fixes #685
Fixes #1705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working layout Related to layout, positioning, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants