-
Notifications
You must be signed in to change notification settings - Fork 123
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
ListWidget + WidgetListAdapter = child widgets don't work #538
Comments
I found that using |
@drug007 I could be wrong but I think ListWidgets are more meant for use with text. You could also try extending VerticalLayout for your custom widget. |
ListWidgets is base for Menu widget, for text there is StringListWidget (or some widget like this). But you're right in sense it seems I need to make this custom widget... |
Unfortunately my last fix works only partially. While ListWidget children now react to mouse events, their children don't. It means that if there are interactive elements inside a child (such as text inputs, buttons), they are still non-interactive. Their parent (i.e. ListWidget adapter child) steals all the events. |
The following code:
creates a widget, where child widget (TreeWidget) does not react to mouse or keyboard input. @buggins Does WidgetListAdapter support menu only? And functionality for general widget list adapter is not provided yet?
The text was updated successfully, but these errors were encountered: