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

Implement component autosizing #391

Closed
adam-arold opened this issue Jul 7, 2021 · 1 comment
Closed

Implement component autosizing #391

adam-arold opened this issue Jul 7, 2021 · 1 comment
Assignees
Labels
feature New functionality for the program

Comments

@adam-arold
Copy link
Member

With the new option for container builders to add their future children it is now possible to auto-size containers for their children.

@adam-arold adam-arold added the feature New functionality for the program label Jul 7, 2021
@adam-arold adam-arold self-assigned this Jul 7, 2021
@lesbiangunshow
Copy link
Collaborator

lesbiangunshow commented Jul 7, 2021

this also opens the door to autosizing during runtime, right? if we have access to the view hierarchy we could trigger rebuilding when autosized components' children's sizes change, or children are added or removed to ensure constraints continue to be matched. For example, it would be trivial to have a box wrap some row elements, and have it change size to match the amount of elements within.

@adam-arold adam-arold added this to the 2020.2.0-RELEASE milestone Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality for the program
Projects
None yet
Development

No branches or pull requests

2 participants