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

Path not growing in Constraint Layout #1315

Open
linusha opened this issue Mar 7, 2024 · 1 comment
Open

Path not growing in Constraint Layout #1315

linusha opened this issue Mar 7, 2024 · 1 comment
Assignees
Labels
🐞 bug Something isn't working ⏱️ postponed A problem/idea that is known/documented but is not urgent/has previous pathdependencies.

Comments

@linusha
Copy link
Contributor

linusha commented Mar 7, 2024

path-not-growing.mp4
@linusha linusha added the 🐞 bug Something isn't working label Mar 7, 2024
@merryman
Copy link
Member

merryman commented Mar 7, 2024

This is not easily implementable in a CSS based auto layout, since the Path and Polygon morphs internally render to absolute SVG shapes. To properly resize a Path or Polygon therefore warrants a round trip through the morphic model, which basically wrecks any of the benefits we gain by using a CSS layout in the first place.

I will leave this as is for the time being, since the scenario this came up in was easily resolved by utilizing a plain rectangular morph instead.

@merryman merryman added the ⏱️ postponed A problem/idea that is known/documented but is not urgent/has previous pathdependencies. label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working ⏱️ postponed A problem/idea that is known/documented but is not urgent/has previous pathdependencies.
Projects
None yet
Development

No branches or pull requests

2 participants