linebender / linebender/druid

Adding different Box layouts example

Open
#1,673 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
9.7k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

So there is a layout example currently. I could add `AspectRatioBox` to that layout example but I feel like it would be lost amongst the other elements. Could I add an example that shows off the different types of "sized boxes". Eventually there will be, `AspectRatio`, `ConstrainedBox`, `UnconstrainedBox`, `FractionallySizedBox` and a few more I believe. I feel like all of these and `SizedBox`, should be within one example that demonstrates them all.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing layout example and identify how its elements are organized. Add a separate example covering the sized-box types named in the issue, including AspectRatioBox, SizedBox, ConstrainedBox, UnconstrainedBox, and FractionallySizedBox; done means the examples are grouped together and demonstrate their differences.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.