It would be cool to have the new Lion layout APIs
Definitely amazing. Would love to have it. Patches (or thick stacks of cash) welcome. :)
I also would love to see this in Cappuccino :)
GNUstep Renaissance is something similar (out there since 2001)
it provides powerful autolayout capabilities and obsoletes the InterfaceBuilder dependency.
see demo of my prelimiary port to capp at http://aug-fancy.ukl.uni-freiburg.de/NewApplication/
Interface Builder will still be key even with constraint based auto layout. There's nothing worse than trying to lay out a UI by repeatedly reloading an app. That's like sewing with a blindfold. Frustrating, result rarely very good and sometimes you prick your finger and smear blood over your whole UI.
Milestone: Someday. Labels: #needs-patch, AppKit, feature. What's next? This issue needs a volunteer to write and submit code to address it.
For those interested, here is the current status of Autolayout implementation in cappuccino
There is also an Online demo
There is a list of current bugs / missing features in the main README. I can translate it to proper github issues if needed.
Note that there is a submodule referring to the cassowary.js repo but I am not using it anymore. The compiled cassowary js file is now included the Autolayout branch at AppKit/cassowary/c.js.
@cacaodev, as for -baselineOffsetFromBottom, if that means text baseline, I wrote that code a long time ago. I'll try to locate it.
the online demo is freaking cool :-)
Milestone: Someday. Vote: 1. Labels: #needs-patch, AppKit, feature. What's next? This issue needs a volunteer to write and submit code to address it.
Thanks @aparajita. Yes, It's the text baseline for the div element _DOMTextElement in _CPImageAndTextView.
@cacaodev, you should be able to leverage the code here.