From ab1ca3e4d5bc4e54b8824bd858d9fc8d3a54be21 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 7 Mar 2008 00:53:22 +0000 Subject: [PATCH] Bring revision 4816 from branches/adempiere34 [ 1907138 ] Grid Collapse and Tab Group not working for arabic Solution provided by Tobi42 (Tobias Schoeneberg). --- client/src/org/compiere/grid/VPanel.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/client/src/org/compiere/grid/VPanel.java b/client/src/org/compiere/grid/VPanel.java index 4b56994bbb..5701c8ef71 100644 --- a/client/src/org/compiere/grid/VPanel.java +++ b/client/src/org/compiere/grid/VPanel.java @@ -83,12 +83,22 @@ public final class VPanel extends CTabbedPane //set up map used for label and field alignment labels.put(0, new ArrayList()); labels.put(2, new ArrayList()); + // for the case of a right-to-left-language (e.g. arabic) + labels.put(1, new ArrayList()); + labels.put(3, new ArrayList()); + fields.put(1, new ArrayList()); fields.put(3, new ArrayList()); + // for the case of a right-to-left-language (e.g. arabic) + fields.put(0, new ArrayList()); + fields.put(2, new ArrayList()); fillers.put(0, new ArrayList()); fillers.put(2, new ArrayList()); + // for the case of a right-to-left-language (e.g. arabic) + fillers.put(1, new ArrayList()); + fillers.put(3, new ArrayList()); //[ 1757088 ] m_main.setName(Name);