From 58fdf77dd89a02d2595d55b61be3fe9372afeff1 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 29 Dec 2014 18:48:06 -0500 Subject: [PATCH] IDEMPIERE-2378 Text editor can be sizeable and maximizable --- .../src/org/adempiere/webui/window/WTextEditorDialog.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WTextEditorDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WTextEditorDialog.java index 66a63f4615..5aeb684c68 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WTextEditorDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WTextEditorDialog.java @@ -24,7 +24,6 @@ import org.adempiere.webui.component.Tabpanels; import org.adempiere.webui.component.Tabs; import org.adempiere.webui.component.Textbox; import org.adempiere.webui.component.Window; -import org.compiere.util.Env; import org.compiere.util.Language; import org.zkforge.ckez.CKeditor; import org.zkoss.zk.au.out.AuScript; @@ -160,6 +159,8 @@ public class WTextEditorDialog extends Window implements EventListener{ tabbox.addEventListener(Events.ON_SELECT, this); //Bug IDEMPIERE-1992 Ensure that text editor dialog has a close button setClosable(true); + setSizable(true); + setMaximizable(true); } private void createEditor(org.zkoss.zul.Tabpanel tabPanel) {