You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
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 overridingrefreshSelection
, but it's not pretty, maybe adynamic
function similar toitemToText
could be added to plug in the functionality without subclassing?The text was updated successfully, but these errors were encountered: