emilk / emilk/egui

Label align for checkbox

Open
#1,920 1 comment 2 reactions 0 assignees View on GitHub
feature
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 12h
Merged PRs (30d)
67

Description

![image](https://user-images.githubusercontent.com/6856627/184759222-114e7da3-140a-4251-ad74-09416f386d28.png)
I was making UI to look something like this, but I can't make it so the checkbox's label appears on the left. I tried to do a workaround where the ui.label is used and ui.checkbox has no label, but that makes it so that you are unable to click on the label to toggle the checkbox.
I found this request earlier ( https://github.com/emilk/egui/issues/436 ) but it was closed and it was suggested this person use a grid instead.

Any solutions seem like more hassle than just implementing the ability to change the label position within egui.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.