Comment out 2 assertions to get past toolbar layout problem.

This commit is contained in:
ramiro%netscape.com 1998-09-15 11:26:43 +00:00
Родитель 582dd628fa
Коммит a91580b8f3
1 изменённых файлов: 7 добавлений и 4 удалений

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

@ -1771,10 +1771,13 @@ LayoutHorizontal(Widget w,XfeLinked children)
/* Obtain the dimensions for the child */
LayoutGetChildDimensions(w,child,&width,&height);
assert( width > 0 );
assert( height > 0 );
_XfeConfigureWidget(child,x,y,width,height);
/* assert( width > 0 ); */
/* assert( height > 0 ); */
if ((width > 0) && (height > 0))
{
_XfeConfigureWidget(child,x,y,width,height);
}
x += (_XfeWidth(child) + _XfeOrientedSpacing(w));
}