From 1d880a944f2881e3993d040acacd99d5a5d4cc0a Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 24 Feb 2007 19:43:19 +0000 Subject: [PATCH] don't descend into groups to avoid padding space beind added around --- src/GUI/layout.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/layout.cxx b/src/GUI/layout.cxx index 0f2b81059..730142d04 100644 --- a/src/GUI/layout.cxx +++ b/src/GUI/layout.cxx @@ -39,7 +39,7 @@ void LayoutWidget::calcPrefSize(int* w, int* h) { *w = *h = 0; // Ask for nothing by default - if (getBool("hide")) + if (getBool("hide") || isType("nasal")) return; int legw = stringLength(getStr("legend")); @@ -97,7 +97,7 @@ void LayoutWidget::calcPrefSize(int* w, int* h) // Set up geometry such that the widget lives "inside" the specified void LayoutWidget::layout(int x, int y, int w, int h) { - if (getBool("hide")) + if (getBool("hide") || isType("nasal")) return; setNum("__bx", x); -- 2.39.5