Improved drop down list usability. #89

Merged
tslocum merged 1 commits from gdamore/cview:dropdown into master 8 months ago

This adds an optional indicator to the drop down lists (the right facing triangle), which greatly helps with the lists when either using inadquate colors (such as monochrome), or even when the colors are sufficient, you want to be able to distinguish which item is selected when there are only two items listed. (The colors are not necessarily sufficient to provide that guidance.)

This also allows any list to use indicates before and after the selected item, as well as any spacing for unselected items. The List has a slightly different API, whereas the DropDown uses a simpler DropDownSelectedSymbol to set a single rune.

This adds an optional indicator to the drop down lists (the right facing triangle), which greatly helps with the lists when either using inadquate colors (such as monochrome), or even when the colors are sufficient, you want to be able to distinguish which item is selected when there are only two items listed. (The colors are not necessarily sufficient to provide that guidance.) This also allows any list to use indicates before and after the selected item, as well as any spacing for unselected items. The List has a slightly different API, whereas the DropDown uses a simpler DropDownSelectedSymbol to set a single rune.
tslocum merged commit c7cb05912a into master 8 months ago
Owner

Thanks!

Thanks!
The pull request has been merged as c7cb05912a.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b gdamore-dropdown master
git pull dropdown

Step 2:

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff gdamore-dropdown
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/cview#89
Loading…
There is no content yet.