emilk / emilk/egui

Add methods to collapse a window

Open
#358 10 comments 9 reactions 0 assignees View on GitHub
feature
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

We should add two methods to `egui::Window`

* `default_collapsed`: set whether the initial state of the window is collapsed
* `collapsed`: set whether the current state of the window is collapsed

Contributor guide

Open the contributing guide

Research direction

Start at the egui::Window API and trace how a window's initial and current state are represented. The work is done when Window exposes default_collapsed for the initial state and collapsed for the current state, with behavior matching the issue description.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.