[ge-talk] A layout manager
Axel Dörfler
axeld at pinc-software.de
Sun Aug 26 17:21:38 EDT 2007
Christof Lutteroth <lutteroth at cs.auckland.ac.nz> wrote:
> Linear constraints have been used for solving really advanced layout
> problems such as tree and graph layout, so there is really a lot you
> can
> do. Of course, it's computationally more expensive than the simple
> container-based layout, but it's still fast. It allows developers to
> think about GUIs in a more geometrical manner, using invariants,
> instead
> of in terms of program code.
While I'm not really familiar with Haiku's layout engine, it does in
fact use a constraint resolver to do its layout. I don't know if it
supports something in the lines you propose (probably not), but you can
also easily write your own layouting mechanism as part of it.
Bye,
Axel.
More information about the glasselevator-talk
mailing list