зеркало из https://github.com/mozilla/pjs.git
Comment out 2 assertions to get past toolbar layout problem.
This commit is contained in:
Родитель
582dd628fa
Коммит
a91580b8f3
|
@ -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 );
|
||||
/* assert( width > 0 ); */
|
||||
/* assert( height > 0 ); */
|
||||
|
||||
_XfeConfigureWidget(child,x,y,width,height);
|
||||
if ((width > 0) && (height > 0))
|
||||
{
|
||||
_XfeConfigureWidget(child,x,y,width,height);
|
||||
}
|
||||
|
||||
x += (_XfeWidth(child) + _XfeOrientedSpacing(w));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче