Version 2 (modified by 15 years ago) ( diff ) | ,
---|
This documentation is intended to provide developers with a guide to developing rendering objects.
Tips and Techniques
- Your implementation of
RenderObject::layout()
should guarantee that object and its descendants do not need any layout when you leave the method. - In your
RenderObject::layout()
method, add aASSERT(needsLayout())
at the beginning and asetNeedsLayout(false)
at the end.
Note:
See TracWiki
for help on using the wiki.