Replies: 1 comment
-
I agree this is a good idea as this seems a common use case, for what it's worth. I'm not sure how easy this would be to implement though, given that the 'buttons' aren't actually widgets, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hoi textual friends!
I'm not sure if this makes sense as something to create a task for, because I may be the only one who wants to do this, so I figured I'd create a discussion before stressing any devs on this repo.
Current behavior
Right now, by default, if you use a
SelectionList
, clicking both the text and the little radio button next to the text for an option toggles the selection. If you have theSelectionList
highlighted, you can use your keyboard arrow keys to scroll through the options without toggling them.Feature suggestion
I would like to request a feature of an option called something like
button_only_select: bool = False
(defaults to False as to not break existing functionality). The purpose would be to allow users to still click different option texts and allow developer to still listen forSelectionHighlighted
events, without actually toggling an option, meaning the radio button stays unselected.Example use case
This would be useful for me, because I have an option list of apps users can select to install. On highlight of each app, I display a configuration panel widget and description text, but the actual list of selected apps gets passed into another screen. The list of apps is getting long, and so scrolling through all of them with your keyboard is a bit difficult, since I load a big configuration widget on each highlight. The best option for a user is to use the scroll bar to find the app alphabetically, and then click the app, but clicking it, will currently disable it from being installed, meaning each app they click to learn more about, they have to click twice to make sure it stays enabled or disabled.
Screen.Recording.2024-05-05.at.21.54.56.mov
Warm Regards!
Beta Was this translation helpful? Give feedback.
All reactions