Tuesday, February 24, 2009

GWT-EXT - FitLayout

Anyone who are using FitLayout should aware of this.

Extract from GWT-EXT Java Doc

public class FitLayoutextends ContainerLayout

This is a base class for layouts that contain a single item that automatically expands to fill the layout's container.

FitLayout does not have any direct config options (other than inherited ones). To fit a panel to a container using FitLayout, simply set layout to FitLayout on the container and add a single panel to it. If the container has multiple panels, only the first one will be displayed.

My experience is, if you did not conform to this criteria, your remaining layout within the FitLayout panel will go crazy (Especially, grid component)

No comments:

Post a Comment

Oracle - Reclaim disk space

Oracle does not release disk space even if you had delete the data or tablespace. If you have enterprise manager, you should use it to  rec...