Layout children/components on geometry management.

This commit is contained in:
ramiro 1998-04-14 14:43:52 +00:00
Родитель 70d4de528b
Коммит 38be7912dc
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -621,6 +621,10 @@ _XfeLiberalGeometryManager(Widget child,
XtWidgetGeometry * request,
XtWidgetGeometry * reply)
{
Widget w = XtParent(child);
assert( XfeIsManager(w) );
if (request->request_mode & XtCWQueryOnly)
{
return XtGeometryYes;
@ -646,7 +650,13 @@ _XfeLiberalGeometryManager(Widget child,
{
_XfeBorderWidth(child) = request->border_width;
}
/* Layout the components */
_XfeManagerLayoutComponents(w);
/* Layout the children */
_XfeManagerLayoutChildren(w);
return XtGeometryYes;
}
/*----------------------------------------------------------------------*/