/**
  * Edit cell styles
  */
 function editCellAlignment()
 {
     global $ilCtrl, $tpl, $lng, $ilTabs;
     $this->displayValidationError();
     $this->setTabs();
     $this->setCellPropertiesSubTabs();
     $ilTabs->setSubTabActive("cont_alignment");
     $ilTabs->setTabActive("cont_table_cell_properties");
     // edit form
     include_once "./Services/Form/classes/class.ilPropertyFormGUI.php";
     $form = new ilPropertyFormGUI();
     $form->setFormAction($ilCtrl->getFormAction($this));
     $form->setTitle($this->lng->txt("cont_table_cell_properties"));
     // alignment
     $options = array("" => $lng->txt("default"), "Left" => $lng->txt("cont_left"), "Center" => $lng->txt("cont_center"), "Right" => $lng->txt("cont_right"));
     $si = new ilSelectInputGUI($lng->txt("cont_alignment"), "alignment");
     $si->setOptions($options);
     $si->setInfo($lng->txt(""));
     $form->addItem($si);
     $form->setKeepOpen(true);
     $form->addCommandButton("setAlignment", $lng->txt("cont_set_alignment"));
     $html = $form->getHTML();
     $html .= "<br />" . $this->renderTable("table_edit", "alignment") . "</form>";
     $tpl->setContent($html);
 }