-
-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
Expected Behavior
Clicking an item of a ListView
should trigger onItemClick
.
Current Behavior
Nothing happen. onItemClick
is bound to Mouse.CLICK
which correspond to clicking on Button
or similar. However the ItemRenderer
are Label
which doesn't generate such events.
Possible Solution
- Change the
ItemRenderer
toButton
but this will not look good. - Change
onItemClick
to trigger onMouse.LEFT_DOWN
but this will change the behavior of all other backends. Or possibly add the Mouse.LEFT_DOWN trigger only for hxwidget (maybe also xwt) in ListView
Steps to Reproduce (for bugs)
- Have a ListView with items
- Compile with haxeui-hxwidget
- Try to click on an item
Metadata
Metadata
Assignees
Labels
No labels