I have a Container (lets call it P1) that contains a single (for now) interactive child component (C1). This child component itself is a container using a LayeredLayout (it has 3 layers) and is interactive (it implements pointer click and drag events with override of the low level pointer events methods (pointerPressed, pointerDragged, pointerReleased...)) As long as P1 uses the default FlawLayout layout, everything is fine, my click and drag events on the child component it contains (C1) are correctly handled. But if I change the P1 layout to LayeredLayout, it stops working (my child component C1 do no longer receive the click and drag events). I really don't understand why and how to fix it (I need P1 to use LayeredLayout as I want to add another child component on top of the previous one when the user perform some specific action) Also, is there some debugging tool allowing to track down the CN1 events (which component currently has focus and what events have been emited)? It would be a really usefull feature to implement in the simulator.
-- 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/fe474472-fe80-4aab-acc4-54aa253f9e16%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
