bevyengine / bevyengine/bevy

Remove absolute positioning from UI examples where possible

Open
#6,890 2 comments 0 reactions 0 assignees View on GitHub
A-UI C-Examples
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## What problem does this solve or what need does it fill?

Absolute positioning is straightforward and easy to understand. However, many users struggle with using the other style properties correctly. Providing more examples of their use could help users better understand these properties.

## What solution would you like?

Instead of using absolute positions, use combinations of the other style properties to achieve the same effect.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Bevy UI examples that use absolute positioning and review how their layouts are constructed. Replace absolute positioning where equivalent style properties can achieve the same result, while preserving the examples' behavior; done means the affected examples demonstrate those properties clearly without unnecessary absolute positions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation, frontend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.