Exemple #1
0
 function postFilter(\ManiaLib\Gui\Component $item)
 {
     $this->yIndex -= $item->getRealSizeY() + $this->marginHeight;
     if (!$this->maxWidth || $item->getRealSizeX() > $this->maxWidth) {
         $this->maxWidth = $item->getRealSizeX();
     }
     $this->currentColumnElementCount++;
 }
Exemple #2
0
 function postFilter(\ManiaLib\Gui\Component $item)
 {
     $this->xIndex += $item->getRealSizeX() + $this->marginWidth;
     if (!$this->maxHeight || $item->getRealSizeY() > $this->maxHeight) {
         $this->maxHeight = $item->getRealSizeY();
     }
     $this->currentLineElementCount++;
 }
Exemple #3
0
 function postFilter(\ManiaLib\Gui\Component $item)
 {
     $this->xIndex += $item->getRealSizeX() + $this->marginWidth;
 }