From 91996df3fccd0b69c86be68392e20eee767512f1 Mon Sep 17 00:00:00 2001 From: gambas Date: Wed, 10 Mar 2021 15:50:17 +0100 Subject: [PATCH] Showing or hiding a control does not trigger a parent arrangement if the Ignore property was set. [GB.GTK] * BUG: Showing or hiding a control does not trigger a parent arrangement if the Ignore property was set. [GB.GTK3] * BUG: Showing or hiding a control does not trigger a parent arrangement if the Ignore property was set. --- gb.gtk/src/gcontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.gtk/src/gcontrol.cpp b/gb.gtk/src/gcontrol.cpp index 8cccc8067..6cd37f496 100644 --- a/gb.gtk/src/gcontrol.cpp +++ b/gb.gtk/src/gcontrol.cpp @@ -555,7 +555,7 @@ void gControl::setVisible(bool vl) gtk_widget_hide(border); } - if (pr) pr->performArrange(); + if (!isIgnore() && pr) pr->performArrange(); } /*****************************************************************