Bug 216623 - [Text] Changing the alignment of a block does not update any child blocks
Summary: [Text] Changing the alignment of a block does not update any child blocks
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Draw2d (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-25 14:23 EST by Pratik Shah CLA
Modified: 2010-11-04 17:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.