Look at how to help people with an infinite non-flex child.
Open
Nobody has claimed this yet.
discussion
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
This happens if you do something like
Flex::row()
.with_child(Label::new("test").expand())
It seems to be a common source of errors (e.g. it was for me and on zulip). I'm making this issue because I want to have a look at this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Flex::row() example with Label::new("test").expand(), then trace how the layout handles an infinite non-flex child. The issue does not name files or tests; work is complete once the project has a concrete, agreed way to handle or explain this broken layout case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100