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

Padding in nested tiling layouts screws up fill behavior #1623

Open
merryman opened this issue Jul 11, 2024 · 0 comments
Open

Padding in nested tiling layouts screws up fill behavior #1623

merryman opened this issue Jul 11, 2024 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@merryman
Copy link
Member

Describe the bug
When nesting morphs via tiling layouts, the presence of a padding on one of the laid out morphs can mess up the sizing behavior when such a morph is set to fill its parent. In those cases the morph no longer assumes the proportional space allotted but instead claims the proportional space while also consuming the space of the padding. This leads to uneven fill behavior, where for instance two morph in a row where each should fill their parent will now longer each receive 1/3 of the free space but instead the one with the padding will take up more space then the allowed 1/3.
Setup

  • macOS

Version: a6de985

@merryman merryman added the 🐞 bug Something isn't working label Jul 11, 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
Projects
None yet
Development

No branches or pull requests

1 participant