Bug 216623

Summary: [Text] Changing the alignment of a block does not update any child blocks
Product: [Tools] GEF Reporter: Pratik Shah <ppshah>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: hudsonr, nyssen
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Pratik Shah CLA 2008-01-25 14:23:11 EST
The alignment of a block, if not set, is derived from its ancestors.  So, setting the alignment of a block, should cause the child blocks to re-layout (since their alignment could've also been affected).  However, that doesn't work currently.  So, if you have two nested blocks and you set the alignment of the parent block, the child block will not be updated (until the next layout happens).
Comment 1 Randy Hudson CLA 2008-01-28 09:46:28 EST
This is similar to setFont().  I'm not sure that setAlignment should invalidate all figures, but at the very least an API needs to exist that could be called right after setAlignment.