kivy/kivy — pull request #2803 by kived (2014-12-30 02:52:11+00:00)
Title: properly handle StackLayout size_hint and spacing

Makes `StackLayout` take spacing into account when computing the size of `size_hint`ed children in the constrained direction. Also clamps computed sizes to prevent negative dimensions which cause funky UI bugs, and fixes #2750.