From 3f7ee9bed41d1ef0945e21e14fa6a54f3a9eb904 Mon Sep 17 00:00:00 2001 From: Elaine Tan Date: Wed, 19 Jun 2013 17:50:26 +0800 Subject: [PATCH] IDEMPIERE-724 Zk: Make iDempiere theme more easily customizable - Fix tab editor group layout --- .../src/org/adempiere/webui/apps/form/WTabEditor.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WTabEditor.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WTabEditor.java index 76c837cae1..c02c72ce8d 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WTabEditor.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WTabEditor.java @@ -245,9 +245,10 @@ public class WTabEditor extends TabEditor implements IFormController, EventListe else { Group rowg = new Group(fieldGroup); - Cell cell = new Cell(); - cell.setColspan(numCols); - rowg.appendChild(cell); + Cell cell = (Cell) rowg.getFirstChild(); + cell.setSclass("z-group-inner"); + cell.setColspan(numCols+1); +// rowg.appendChild(cell); if (X_AD_FieldGroup.FIELDGROUPTYPE_Tab.equals(gridField.getFieldGroupType()) || gridField.getIsCollapsedByDefault()) { rowg.setOpen(false); @@ -414,7 +415,7 @@ public class WTabEditor extends TabEditor implements IFormController, EventListe Group group = new Group(Msg.getMsg(Env.getCtx(), "Property")); Cell cell = (Cell) group.getFirstChild(); cell.setSclass("z-group-inner"); - cell.setColspan(1); + cell.setColspan(2); group.setOpen(true); rows.appendChild(group);