sproutcore/sproutcore — pull request #1135 by mirion (2013-11-29 13:35:26+00:00)
Title: Stacked child layout views + resizeToFit: don't add padding or margins if none of the children is visible

If we have a view using one of the stacked layouts, it may happen that for various reasons, all children are hidden. In this case and if the view has the flag resizeToFit = YES, we should not add any padding/margin at the end of the calculation. The view should remain effectively with width/height 0.