function preFilter() { parent::preFilter(); $this->button->setHalign('right'); $this->button2->setPositionY(5 - $this->sizeY); $this->button->setPositionX(-5); $this->button2->setPositionX(5); }