Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PopupButton Widget #154

Open
ecton opened this issue May 17, 2024 · 1 comment
Open

Add PopupButton Widget #154

ecton opened this issue May 17, 2024 · 1 comment

Comments

@ecton
Copy link
Member

ecton commented May 17, 2024

This issue is tracking support for a widget that displays a selected value. When clicked, a menu of options is shown. If a new option is picked, it is shown in the button.

Other frameworks sometimes call this a DropDown button.

@hydra
Copy link
Contributor

hydra commented Nov 21, 2024

DropDown widgets, aka 'Select' in HTML are highly useful, however if time is a factor an implementation of the Amiga's 'cycle gadget' would also be welcomed in lieu or in addition to a DropDown / PopupButton.

https://wiki.amigaos.net/wiki/UI_Style_Guide_Gadgets#Cycle_Gadgets

They look like this:

SG5-12

When you click them, they just cycle to the next item in the list. Like radio groups, they work well for shorter lists, but not for longer lists and are space-saving when compared to a radio group.

They render in-place and there are fewer edge-cases than with the DownDown/PopUpButtons. One common edge case with DownDowns is where/how to render the menu if any part of the pop-up menu that appears when you press the button doesn't fit in the application window.

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

No branches or pull requests

2 participants