News for hackers. Stuff that matters.
Re:Toga: A Python native, OS native GUI toolkit by daurnimator on Saturday August 09, 2014 @05:14PM (#8158029)
Cassowary ( http://constraints.cs.washington.edu/cassowary/ ) is used by Apple for this.
Re:Toga: A Python native, OS native GUI toolkit by freakboy3742 on Sunday August 10, 2014 @05:26AM (#8159300)
FYI, Toga uses Cassowary as well - natively through Apple's implementation on OSX and iOS, and via a Python implementation of the algorithm (http://pybee.org/cassowary/) for GTK and Windows.