Allow widgetResizeImpl to work with containers (by re-laying them out).

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5415 4a71c877-e1ca-e34f-864e-861f7616d084
master
Freddie Witherden 2008-07-07 22:39:52 +00:00
parent 20d7cc06be
commit 2dc1063859
1 changed files with 6 additions and 0 deletions

View File

@ -589,6 +589,12 @@ void widgetResizeImpl(widget *self, int w, int h)
// Set the needs redraw flag
self->needsRedraw = true;
// If we have any children, we need to redo their layout
if (vectorSize(self->children))
{
widgetDoLayout(self);
}
}
void widgetCompositeImpl(widget *self, cairo_t *comp)