emilk / emilk/egui

auto_expand_width is shown in examples, but does not exist

Open Beginner friendly
#3,064 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

The example `auto_expand_width(true)` is given two places, but the method does not appear to exist anymore.

* https://github.com/emilk/egui/blob/860dac69dac6f1378e8556ccd7d39afb98a572e9/crates/egui/src/containers/window.rs#L94
* https://github.com/emilk/egui/blob/860dac69dac6f1378e8556ccd7d39afb98a572e9/crates/egui/src/containers/window.rs#L101

Contributor guide

Open the contributing guide

Research direction

Open crates/egui/src/containers/window.rs at the referenced lines around 94 and 101. Check the surrounding examples against the current Window API, then update both examples so they no longer show the nonexistent auto_expand_width method. Done means the examples document methods that exist and remain consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.