M.C. Escher
04/11/2024, 9:14 AMResizer(moveable=true)
it works, but not if i start the drag in one of the child ToggleButtons
. what's the easiest way to make it possible to start a drag of the view from anywhere within the view?Nick
04/12/2024, 4:49 AMCommonButtonBehavior
(or its descendants) installed. this is the behavior you usually want w/ buttons. this means Resizer
won't receive the pointer events since it listens to the "bubbling" phase for pointer/pointer-motion events. that is, it only gets these events after the View's children have processed them (and chosen not to consume them).
this is actually something i'll be giving you more control over in 0.10.1 (coming in the next few days). Resizer
will have a new property that lets you decide if you want to handle events during the "sinking" phase instead, which would let it get the event before the View's children do. setting that will let you move the View regardless of what the children do.Nick
04/24/2024, 3:41 AMM.C. Escher
04/24/2024, 1:30 PM