[Jaws-commits] r13456 - trunk/jaws/html/include/Jaws/Widgets

afz at jaws-project.com afz at jaws-project.com
Tue Aug 14 21:19:03 UTC 2012


Author: afz
Date: 2012-08-14 21:19:03 +0000 (Tue, 14 Aug 2012)
New Revision: 13456

Modified:
   trunk/jaws/html/include/Jaws/Widgets/TextArea.php
Log:
[Classic Editor]: Fixed toolbar

Modified: trunk/jaws/html/include/Jaws/Widgets/TextArea.php
===================================================================
--- trunk/jaws/html/include/Jaws/Widgets/TextArea.php	2012-08-14 21:17:44 UTC (rev 13455)
+++ trunk/jaws/html/include/Jaws/Widgets/TextArea.php	2012-08-14 21:19:03 UTC (rev 13456)
@@ -82,8 +82,8 @@
         $this->_ToolbarControl->SetID('toolbar_'.$name);
 
         $this->TextArea =& Piwi::CreateWidget('TextArea', $name, $value, '', '14', '106');
-        $this->_Label =& Piwi::CreateWidget('Label', $label, $this->TextArea);
         $this->TextArea->SetStyle('width: 99%;');
+        $this->_Label =& Piwi::CreateWidget('Label', $label, $this->TextArea);
 
         $this->_Container =& Piwi::CreateWidget('VBox');
         $this->_Container->AddFile('include/Jaws/Widgets/TextArea.js');
@@ -121,10 +121,9 @@
         if (!empty($label)) {
             $this->_Container->PackStart($this->_Label);
         }
-        $this->_Container->PackStart($this->TextArea);
         $this->_Container->PackStart($this->_ToolbarControl);
+        $this->_Container->PackStart($this->TextArea);
         $this->_Container->SetWidth($this->_Width);
-        $this->_XHTML .= $this->_Container->Get();
 
         $this->extraBuild();
         $this->_XHTML = $this->_Container->Get();



More information about the Jaws-commits mailing list