mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
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:
parent
816d5e6afe
commit
7ca2ae4910
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user