Community
Participate
Working Groups
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).
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.