Skip to content

Make label optional for radio widget - #3395

Open
edwloef wants to merge 1 commit into
iced-rs:masterfrom
edwloef:radio-optional-label
Open

Make label optional for radio widget#3395
edwloef wants to merge 1 commit into
iced-rs:masterfrom
edwloef:radio-optional-label

Conversation

@edwloef

@edwloef edwloef commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

I found myself needing label-less radio buttons today, for something like this:
image
Making a radio without a label previously required providing an empty string as a label, removing the spacing between the button and label, and making the text smaller or decreasing the text's line height, which all-together makes the intended effect not very obvious when reading code. This pull request mirrors the changes made to the checkbox widget a while back by making the label optional. Additionally, it adds a missing operation implementation, also mirroring checkbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant