Skip to content

Make RadioButtons and RadioGroup more flexible #21261

@alice-i-cecile

Description

@alice-i-cecile

@PPakalns says in #21247 (comment):

I still do not like how Radio widgets and RadioGroup works. It would be better for each widget to have separate events. But I could partially override behavior with my own. RadioButtons and RadioGroup shouldn't make assumptions that there is exactly one active radio button.

They also note:

In my opinion current radio button / radio group design tries to assume too much about how widgets will be used. I would suggest that each radio button should behave similarly to toggle, checkbox. And radio group is optional thing that users can use on top of group of radio buttons if they want to.
Current approach is hard to integrate with tools that can handle radio button management separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions