protected function createTexy() { $texy = parent::createTexy(); $texy->headingModule->top = 2; return $texy; }
/** * @param $name * @return Nette\ComponentModel\IComponent */ protected function createComponent($name) { $control = parent::createComponent($name); if ($control instanceof IFilesystemContextAware) { $control->setRoot(realpath($this->getRoot())); $control->setDirectory($this->getDirectory()); } return $control; }
public function attached($presenter) { parent::attached($presenter); $this->redrawControl(NULL, FALSE); }