Hello - I'm stuck trying to configure a panel to be constrained to a
grid with (say) ticks spaced 10px apart in either direction. On
instantiation, I know that I can configure the panel to be draggable
and constrained to my viewport, but there doesn't seem to be a
shorthand way of indicating grid ticks for it to "snap" to as it drags.
Conversely, I see examples and documentation of how one takes an
arbitrary draggable element and configures it to snap to a grid, but I
don't know how to refer to my new panel as such an element and
configure it in that way.
Does anyone have a quick & dirty explanation or a simple example I can
Many thanks - SA