IDEMPIERE-2378 Text editor can be sizeable and maximizable

This commit is contained in:
Carlos Ruiz 2014-12-29 18:48:06 -05:00
parent 61117c42fe
commit 58fdf77dd8
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,6 @@ import org.adempiere.webui.component.Tabpanels;
import org.adempiere.webui.component.Tabs; import org.adempiere.webui.component.Tabs;
import org.adempiere.webui.component.Textbox; import org.adempiere.webui.component.Textbox;
import org.adempiere.webui.component.Window; import org.adempiere.webui.component.Window;
import org.compiere.util.Env;
import org.compiere.util.Language; import org.compiere.util.Language;
import org.zkforge.ckez.CKeditor; import org.zkforge.ckez.CKeditor;
import org.zkoss.zk.au.out.AuScript; import org.zkoss.zk.au.out.AuScript;
@ -160,6 +159,8 @@ public class WTextEditorDialog extends Window implements EventListener<Event>{
tabbox.addEventListener(Events.ON_SELECT, this); tabbox.addEventListener(Events.ON_SELECT, this);
//Bug IDEMPIERE-1992 Ensure that text editor dialog has a close button //Bug IDEMPIERE-1992 Ensure that text editor dialog has a close button
setClosable(true); setClosable(true);
setSizable(true);
setMaximizable(true);
} }
private void createEditor(org.zkoss.zul.Tabpanel tabPanel) { private void createEditor(org.zkoss.zul.Tabpanel tabPanel) {