Adds an option to SplitLayoutPanel to hide a widget when its splitter is double clicked.  We set the width to 0 instead of hiding the widget because hiding a widget can cause issues with flash components.

Also adds a method DockLayoutPanel#setWidgetHidden() which allows users to hide a widget in a DockLayoutPanel.  The existance of a "hidden" field in LayoutData suggests that we intended to support this functionality but never got around to it.

http://gwt-code-reviews.appspot.com/1398801/

Author: antoine.dessaigne
Reviewer: jlabanca
Issue: 5264


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10896 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed