Changes between Initial Version and Version 1 of LayoutAndRendering
- Timestamp:
- Oct 7, 2009 2:46:01 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LayoutAndRendering
v1 v1 1 This documentation is intended to provide developers with a guide to developing rendering objects. 2 3 = Tips and Techniques = 4 5 * Your implementation of `RenderObject::layout()` should guarantee that object and its descendants do not need '''any''' layout when you leave the method. 6 * In your `RenderObject::layout()` method, add a `ASSERT(needsLayout())` at the beginning and a `setNeedsLayout(false)` at the end.