I am trying to find a way to make the divider in an
HDividedBox snap-to guides set to a certain width. For example, I
want guides set every 50px, and want the divider to only resize the
cell to these points. This is similar to the "snap-to" guides that
you get in the FlexBuilder design view.
Any ideas on how to control the divider position when
dragging, or snapping the divider on release (via moveDivider() or
something) would be greatly appreciated.
I think the only way to do this is to programmatically check
the coodinates of the divider, and then only let it move when it
reaches the designated threshold. Probably use the dividerDrag and
/ or the dividerRelease events.