Skip to content

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

Description

@nadako

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions