コード例 #1
0
 function addSpacer($height = 1, $spacing = 5)
 {
     $s = $this->createRow();
     $s->setHeight($spacing);
     $l = new Line();
     $l->setHeight($height);
     $s->setAttribute(0, $l);
     $s->setSpawnAll(true);
     $this->addRow($s);
     // damit changeColor passt
     $spcR = $this->createRow();
     $spcR->setHeight(0);
     $this->addRow($spcR);
 }