Reviewers: jgw,

Description:
When a ScrollTable is not displayed (as in when its in a closed
FastTreeItem), it sets its height to 1px and waits for
ResizeableWidgetCollection to tell it that its clientHeight has changed,
which should happen when it becomes visible again.  However, if
ScrollTable has a border, the clientHeight will remain 0 even after the
table becomes visible.

Fix:
====
ResizableWidgetCollection now looks at both the client height/width and
offset height/width.  A change in either should trigger a redraw.

Testing:
========
I verified this manually on IE, Chrome, and FF. I added a couple of unit
tests as well.

Please review this at http://gwt-code-reviews.appspot.com/152801

Affected files:
  src/com/google/gwt/widgetideas/client/ResizableWidgetCollection.java
  test/com/google/gwt/widgetideas/client/ResizableWidgetCollectionTest.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to