A layered layout takes over all the space whereas flow layout will leave 
some areas untouched. I'm guessing you have a different component within 
the hierarchy that is grabbing events.
Notice you shouldn't handle events in a Container. It's problematic as most 
events won't deliver to a container and instead go directly to the 
applicable child. A better approach would be to bind an event listener on 
the form in initComponent() and release it in deinitialize().

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/5cb9b734-62b5-4ad1-9521-14197d26c392%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to