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

Setting more PopupListView button properties on list selection change (not just text) #113

Open
nadako opened this issue Jun 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@nadako
Copy link

nadako commented Jun 22, 2022

Looks like currently there's no easy way to control what PopupListView's button properties are changed when selection changes. For example, I'd like to change button icon to the currently selected item's image.

I found one way to achieve this via subclassing PopupListView and overriding refreshSelection, but it's not pretty, maybe a dynamic function similar to itemToText could be added to plug in the functionality without subclassing?

@joshtynjala joshtynjala added the enhancement New feature or request label Jun 22, 2022
@joshtynjala joshtynjala added this to the v1.1 milestone Jun 22, 2022
@joshtynjala joshtynjala removed this from the v1.1 milestone Oct 6, 2022
@joshtynjala joshtynjala changed the title Setting PopupListView properties on selection change Setting more PopupListView button properties on list selection change (not just text) Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants