Feathers: `pane_header()` and `pane_body()` border inconsistency
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
`pane_header()`'s Node is bordered while `pane_body()`'s isn't which produces a visual inconsistency, with a jarring 1 pixel offset:
Adding the same border on the body's left, bottom and right sides feels more pleasing overall, as illustrated by this comparison on `feathers_gallery`:
Open question is how to deal with headerless panes, which should add a top border. As a matter of fact they should also fix their top corners radii too, to mach the bottom ones.
Is this too naive ?
```rust
pub fn pane_body(header_less: bool) -> impl Scene {}
```
Can the body detect the presence of a sibling header automatically ?
Contributor guide
Research direction
Locate the Feathers implementations of pane_header() and pane_body(), then compare their border and corner-radius behavior in the feathers_gallery example. Check how headerless panes are represented or rendered before deciding whether the body needs explicit context. Done means the panes have consistent borders and corner radii, including the intended headerless case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- design, game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100