emilk / emilk/egui

Ui::add_sized does not work as expected with Slider

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

Description

Ui::add_sized does not work as one would expect when Slider is passed in. Instead Spacing::slider_width is used for its width.

The expectation here is that slider can be resized by supplying size in add_sized.

Contributor guide

Open the contributing guide

Research direction

Start by tracing Ui::add_sized when a Slider is passed in, then inspect where Spacing::slider_width supplies the slider width. The change is complete when the size supplied to add_sized controls the slider width instead of Spacing::slider_width.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.