This is a temprary hack to fix the "off by one" toolbar closed problem that

occurs when all toolbox items are closed.
This commit is contained in:
ramiro%netscape.com 1998-09-20 17:17:12 +00:00
parent 816d5e6afe
commit 7ca2ae4910

View File

@ -2483,6 +2483,13 @@ XfeToolBoxItemSetOpen(Widget w,Widget item,Boolean open)
#endif
XtVaSetValues(item,XmNopen,open,NULL);
/*
* This is a temprary hack to fix the "off by one" toolbar closed
* problem that occurs when all toolbox items are closed.
*/
LayoutComponents(w);
LayoutDynamicChildren(w);
}
/*----------------------------------------------------------------------*/
/* extern */ Boolean