Name: Mondrian-Alexandre_Bergel.366
Author: Alexandre Bergel
Time: 18 February 2010, 1:44:56 am
UUID: 7a842f26-b887-4342-bb53-6e254dda0152
Ancestors: Mondrian-Alexandre_Bergel.365
Mondrian-Alexandre_Bergel.366
Before this version, form builder could not be embedded in a subview.
The reason is that asking what is the size of a form shape triggered a
new recomputation of each bounds shape. Therefore, all the subnodes
form shape appeared to be at the same location.
MOFormsShape>>widthFor: and heightFor: simply lookup in
cacheShapeBounds instead of recomputing the whole thing.
Naturally, a test has been added to MOFormsBuilderTest .
This f**king beast entertained my long evening. But at least, I got
rid of it.
In addition to this, I did some cleaning.
This version addresses the issue #319
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev