Class FitLayout

  extended by com.gwtext.client.widgets.layout.ContainerLayout
      extended by com.gwtext.client.widgets.layout.FitLayout
Direct Known Subclasses:
AccordionLayout, CardLayout

public class FitLayout
extends 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.

Field Summary
Fields inherited from class com.gwtext.client.widgets.layout.ContainerLayout
Constructor Summary
Method Summary
protected create( config)
Methods inherited from class com.gwtext.client.widgets.layout.ContainerLayout
getActiveItem, getContainerAttributes, getJsObj, getSpacing, setExtraCls, setRenderHidden, setSpacing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FitLayout()
Method Detail


protected create( config)
create in class ContainerLayout