Automatic seperator for `Flex`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
Currently there are ways to add separators to `Flex::row/column` but you have to put these in manually and they are just normal widgets with events etc.
On zulip the following ideas ware brought up
* painter with some kind of layout, this can access state etc. layout options include "I prefer size x" or "I prefer anything bigger than size x", the later doesn't fit well within druid.
* painter, the caller has to specify the size of the separator and the painter just has to follow
basically rules out ideas:
* a generic type implementing widget, this was scrapped because it creates more problems than it solves (new type parameter vs less boxing)
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 reading the existing Flex::row and Flex::column implementations and how current separators are added as widgets. Review the issue's proposed painter and layout alternatives before deciding on an approach. Done means an agreed separator design is implemented without requiring callers to insert ordinary event-bearing widgets manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100