Name

simplelayout

Synopsis

LZX: simplelayout
JavaScript: simplelayout
Type: Class
Access: public
Topic: Components.Layouts
Declared in: lps/components/utils/layouts/simplelayout.lzx

Superclass Chain

node (LzNode) » layout (LzLayout) » simplelayout

Known Subclasses

Details

Properties (3)

axis
<attribute name="axis" type="string" value="y" />
public var axis : String;
The axis in which this layout operates. One of 'x' or 'y'.
inset
<attribute name="inset" value="0" />
public var inset;
A pixel amount to inset the first view controlled by the layout
spacing
<attribute name="spacing" value="0" />
public var spacing;
A pixel amount to use between each view in the layout

Methods (1)

update()
<method name="update" />
public function update();
This method is usually called automatically when any of the views controlled by the layout change their size in the layout axis, or their visibility. However it can be called directly to force the layout to update

LZX Synopsis

<class name="simplelayout" extends=" LzLayout ">
  <attribute name=" axis " type="string" value="y" />
  <attribute name=" inset " value="0" />
  <attribute name=" spacing " value="0" />
  <method name=" update " />
</class>

JavaScript Synopsis

public simplelayout extends  LzLayout  {
  public var axis  : String;
  public var inset ;
  public var spacing ;
  prototype public function update ();
}