qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Ignore invisible widgets when resizing. References #12169.
2010-06-15, Sadrul Habib Chowdhury
c45240b9a67a
Parents
c0456b8f02ab
Children
f1621d312a56
Ignore invisible widgets when resizing. References #12169.
1 files changed, 3 insertions(+), 1 deletions(-)
+3
-1
gntbox.c
--- a/gntbox.c Wed Jun 09 16:58:41 2010 +0000
+++ b/gntbox.c Tue Jun 15 17:11:15 2010 +0000
@@ -422,7 +422,9 @@
gnt_widget_get_size(wid, &w, &h);
- if (wid != last && !child && w > 0 && h > 0 && gnt_widget_confirm_size(wid, w - wchange, h - hchange)) {
+ if (wid != last && !child && w > 0 && h > 0 &&
+ !GNT_WIDGET_IS_FLAG_SET(wid, GNT_WIDGET_INVISIBLE) &&
+ gnt_widget_confirm_size(wid, w - wchange, h - hchange)) {
child = wid;
break;
}