Closed arnuschky closed 11 years ago
Try documentation not from my own site, but from my github account: http://hyperandroid.github.com/CAAT/ this sample works properly. Note to self: remove all caat content from my own site.
Thanks.
Hmm. I tried the sample given in the tutorial on the github site and it produced the same result with CAAT 0.5. Tested with Chromium on Linux, no errors on console. The layout2 demo does not work either.
Am I missing something essential here? What I expect is that I set director.enableResizeEvents(CAAT.Director.prototype.RESIZE_PROPORTIONAL); and the director is automatically resized.
I see. the wrong thing is CAAT.Director.prototype.RESIZE_PROPORTIONAL Constants have been removed from prototypes and moved to their clases. The right call is: director.enableResizeEvents(CAAT.Foundation.Director.RESIZE_PROPORTIONAL) i still have to modify documentation. Sorry for the inconvenience. Thanks for asking.
2012/11/17 arnuschky notifications@github.com
Hmm. I tried the sample given in the tutorial on the github site and it produced the same result with CAAT 0.5. Tested with Chromium on Linux, no errors on console. The layout2 demo does not work either.
Am I missing something essential here? What I expect is that I set director.enableResizeEvents(CAAT.Director.prototype.RESIZE_PROPORTIONAL); and the director is automatically resized.
— Reply to this email directly or view it on GitHubhttps://github.com/hyperandroid/CAAT/issues/98#issuecomment-10477331.
Works great! Thank you so much for all that immediate help! You're awesome! :)
On Sat, 17 Nov 2012 10:50:35 -0800 Ibon Tolosana notifications@github.com wrote:
I see. the wrong thing is CAAT.Director.prototype.RESIZE_PROPORTIONAL Constants have been removed from prototypes and moved to their clases. The right call is: director.enableResizeEvents(CAAT.Foundation.Director.RESIZE_PROPORTIONAL) i still have to modify documentation. Sorry for the inconvenience. Thanks for asking.
- ibon
2012/11/17 arnuschky notifications@github.com
Hmm. I tried the sample given in the tutorial on the github site and it produced the same result with CAAT 0.5. Tested with Chromium on Linux, no errors on console. The layout2 demo does not work either.
Am I missing something essential here? What I expect is that I set director.enableResizeEvents(CAAT.Director.prototype.RESIZE_PROPORTIONAL); and the director is automatically resized.
— Reply to this email directly or view it on GitHubhttps://github.com/hyperandroid/CAAT/issues/98#issuecomment-10477331.
Reply to this email directly or view it on GitHub: https://github.com/hyperandroid/CAAT/issues/98#issuecomment-10477412
To reproduce: use resize tutorial example with CAAT 0.5: http://labs.hyperandroid.com/static/CAAT-Samples/tutorials/t4-6.html http://labs.hyperandroid.com/static/CAAT-Samples/tutorials/t4-6-p.html