From dfa09ab958c3b2d762abaa150b593d478e04278d Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Thu, 18 Dec 2008 14:28:33 +0000 Subject: [PATCH] bug fix: client side analysis is printed now done even though no server side issues found svn changeset:6284/svn branch:trunk --- .../terminal/gwt/client/IDebugConsole.java | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java b/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java index b3070bef74..cbef60c819 100755 --- a/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java @@ -366,23 +366,22 @@ public final class IDebugConsole extends IToolkitOverlay implements Console { panel.add(tree); tree.addItem(root); - if (zeroHeightComponents.size() > 0 - || zeroWidthComponents.size() > 0) { - panel.add(new HTML("

Client side notifications

" - + " Following relative sized components where " - + "rendered to zero size container on client side." - + " Note that these are not necessary invalid " - + "states. Just reported here as they might be.")); - if (zeroHeightComponents.size() > 0) { - panel.add(new HTML( - "

Vertically zero size:

")); - printClientSideDetectedIssues(zeroHeightComponents, ac); - } - if (zeroWidthComponents.size() > 0) { - panel.add(new HTML( - "

Horizontally zero size:

")); - printClientSideDetectedIssues(zeroWidthComponents, ac); - } + } + if (zeroHeightComponents.size() > 0 || zeroWidthComponents.size() > 0) { + panel.add(new HTML("

Client side notifications

" + + " Following relative sized components where " + + "rendered to zero size container on client side." + + " Note that these are not necessary invalid " + + "states. Just reported here as they might be.")); + if (zeroHeightComponents.size() > 0) { + panel.add(new HTML( + "

Vertically zero size:

")); + printClientSideDetectedIssues(zeroHeightComponents, ac); + } + if (zeroWidthComponents.size() > 0) { + panel.add(new HTML( + "

Horizontally zero size:

")); + printClientSideDetectedIssues(zeroWidthComponents, ac); } } log("************************"); -- 2.39.5