tito/kivy — Issue #287: StackLayout spacing bug
Author: bionoid
Created: 2011-10-23 11:46:03+00:00
State: open

If the StackLayout has spacing > 0, it will incorrectly reposition children when the window is resized, moving the top row correctly but not the rest. I have fixed it for my own use by adding "- spacing" to lines 132 and 172, but not sure if this is the correct solution.

uix/stacklayout.py
(132) lw = self.width - padding2 - c.width - spacing
(172) lh = self.height - padding2 - c.height - spacing