Source for file ColumnLayout.class.php
Documentation is available at ColumnLayout.class.php
* @copyright 2009-2010 NADEO
* Elements are added below their predecessor
* @subpackage GUIToolkit_Layouts
protected $direction = -
1;
$this->direction =
$direction;
function preFilter(GuiElement $item)
if($this->direction ==
self::DIRECTION_UP)
$this->yIndex +=
$item->getSizeY() +
$this->marginHeight;
function postFilter(GuiElement $item)
if($this->direction ==
self::DIRECTION_DOWN)
$this->yIndex -=
$item->getSizeY() +
$this->marginHeight;