How does the layout support of Cappuccino work? For example the centering and the automatik resizing.
+2
A:
Are you asking for an explanation on how to use the feature (one good place is this tutorial: http://cappuccino.org/learn/tutorials/automatic-layout/ ), or are you asking how it is implemented?
Francisco Ryan Tolmasky I
2010-01-24 02:05:38
Implementation.
Richard Durr
2010-01-25 00:12:46
+2
A:
The autoresizing masks are more or less implemented in this method: http://github.com/280north/cappuccino/blob/master/AppKit/CPView.j#L987
On a more conceptual level, all views in Cappuccino are absolutely positioned. By not relying on the browser to lay things out, we always know exactly where everything is, and can make decisions accordingly.
Ross Boucher
2010-03-03 23:26:33