On 3/10/2015 2:38 PM, Alexander Scherbatiy wrote:
*AutoPreferredGapSpring*
Spring reprensenting the distance between any number of sources and
targets.  The targets and sources are computed during layout. An
instance of this can either be dynamically created when
autocreatePadding is true, or explicitly created by the developer.

What about just add a flag to the AutoPreferredGapSpring that allows to distinguish a manually added gap from an auto-inserted?

   Thanks,
Alexandr.

Functionality of AutoPreferredGapSpring should be the same regardless how it was added automatically or manually. The problem is connected to the auto insertion algorithm only. It is sensitive to manual AutoPreferredGapSpring added at the leading position and do not add extra gaps in this case, but ignores manual gaps on the trailing position in the child group and add extra leading gap on the parent group level.

Reply via email to