Source for file Panel.class.php
Documentation is available at Panel.class.php
* @copyright 2009-2010 NADEO
* Very useful! A quad with a title and a title background
* @subpackage GUIToolkit_Cards
$this->setStyle(GuiDefaultStyles::Panel_Style);
$this->titleBg->setStyle(GuiDefaultStyles::Panel_TitleBg_Style);
$this->titleBg->setSubStyle(GuiDefaultStyles::Panel_TitleBg_Substyle);
$this->title->setStyle(GuiDefaultStyles::Panel_Title_Style);
$this->title->setPositionY(-
0.75);
$this->title->setSizeX($x-
4);
protected function postFilter()
// Algin the title and its bg at the top center of the main quad
$this->titleBg->setHalign("center");
$this->title->setHalign("center");