diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java index 8bf26b8cd0..f0e40726fb 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java @@ -502,7 +502,7 @@ DataStatusListener, IADTabpanel, IdSpace editorComps.add(editor.getComponent()); if (paintLabel) { Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); Label label = editor.getLabel(); div.appendChild(label); if (label.getDecorator() != null) @@ -556,7 +556,7 @@ DataStatusListener, IADTabpanel, IdSpace //display just a label if we are "heading only" Label label = new Label(field.getHeader()); Div div = new Div(); - div.setAlign("center"); + div.setStyle("text-align: center;"); row.appendCellChild(createSpacer()); div.appendChild(label); row.appendCellChild(div); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java index 7b60526a4b..4b17b4d42a 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java @@ -288,7 +288,7 @@ public class ProcessParameterPanel extends Panel implements m_wEditors.add(editor); // add to Editors Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); org.adempiere.webui.component.Label label = editor.getLabel(); div.appendChild(label); if (label.getDecorator() != null) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WArchiveViewer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WArchiveViewer.java index 8aaed1568d..88dadcba34 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WArchiveViewer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WArchiveViewer.java @@ -239,7 +239,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("1, 2"); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(processLabel); row.appendChild(div); row.appendChild(processField); @@ -249,7 +249,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(bPartnerLabel); row.appendChild(div); row.appendChild(bPartnerField.getComponent()); @@ -258,7 +258,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(tableLabel); row.appendChild(div); row.appendChild(tableField); @@ -268,7 +268,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(nameQLabel); row.appendChild(div); row.appendChild(nameQField); @@ -278,7 +278,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(descriptionQLabel); row.appendChild(div); row.appendChild(descriptionQField); @@ -288,7 +288,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(helpQLabel); row.appendChild(div); row.appendChild(helpQField); @@ -298,7 +298,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(createdByQLabel); row.appendChild(div); row.appendChild(createdByQField); @@ -307,14 +307,14 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(createdQLabel); row.appendChild(div); row.appendChild(createdQFrom); row.appendChild(createdQTo); div = new Div(); - div.setAlign("center"); + div.setStyle("text-align: center;"); div.appendChild(gridQuery); Tabpanel tabQueryPanel = new Tabpanel(); @@ -337,15 +337,15 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("1, 2, 1"); div = new Div(); - div.setAlign("left"); + div.setStyle("text-align: left;"); div.appendChild(bBack); row.appendChild(div); div = new Div(); - div.setAlign("center"); + div.setStyle("text-align: center;"); div.appendChild(positionInfo); row.appendChild(div); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(bNext); row.appendChild(div); @@ -365,7 +365,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("4"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(createdField); row.appendChild(div); @@ -411,7 +411,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis rows.appendChild(row); row.setSpans("4"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(deleteArchive); div.appendChild(bRefresh); div.appendChild(updateArchive); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WAttributeGrid.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WAttributeGrid.java index a806d3c995..d2df0a9f78 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WAttributeGrid.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WAttributeGrid.java @@ -124,7 +124,7 @@ public class WAttributeGrid extends ADForm implements EventListener rows.appendChild(row); row.setSpans("1, 2"); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(attributeLabel1); row.appendChild(div); row.appendChild(attributeCombo1); @@ -134,7 +134,7 @@ public class WAttributeGrid extends ADForm implements EventListener rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(attributeLabel2); row.appendChild(div); row.appendChild(attributeCombo2); @@ -144,7 +144,7 @@ public class WAttributeGrid extends ADForm implements EventListener rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(labelPriceList); row.appendChild(div); row.appendChild(pickPriceList); @@ -154,14 +154,14 @@ public class WAttributeGrid extends ADForm implements EventListener rows.appendChild(row); row.setSpans("1, 2"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(labelWarehouse); row.appendChild(div); row.appendChild(pickWarehouse); pickWarehouse.setWidth("100%"); div = new Div(); - div.setAlign("center"); + div.setStyle("text-align: center;"); div.appendChild(gridSelection); Tabpanel tabSelectionPanel = new Tabpanel(); @@ -172,7 +172,7 @@ public class WAttributeGrid extends ADForm implements EventListener tabs.appendChild(tabSelection); div = new Div(); - div.setAlign("center"); + div.setStyle("text-align: center;"); div.appendChild(modeLabel); div.appendChild(modeCombo); modeCombo.addEventListener(Events.ON_CHANGE, this); @@ -456,7 +456,7 @@ public class WAttributeGrid extends ADForm implements EventListener if (xValues != null) { Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(new Label(m_attributes[indexAttr1].getName())); descr.appendChild(div); } @@ -470,7 +470,7 @@ public class WAttributeGrid extends ADForm implements EventListener if (xValue != null) { Div div = new Div(); - div.setAlign("center"); + div.setStyle("text-align: center;"); div.appendChild(new Label(xValue.getName())); row.appendChild(div); } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WCharge.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WCharge.java index 46d398169b..0ac5fc3a1a 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WCharge.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WCharge.java @@ -273,7 +273,7 @@ public class WCharge extends Charge implements IFormController, EventListener Row row = new Row(); rows.appendChild(row); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lNode); row.appendChild(div); row.appendChild(fNode); @@ -166,7 +166,7 @@ public class WWFActivity extends ADForm implements EventListener rows.appendChild(row); row.setValign("top"); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lDesctiption); row.appendChild(div); row.appendChild(fDescription); @@ -177,7 +177,7 @@ public class WWFActivity extends ADForm implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lHelp); row.appendChild(div); row.appendChild(fHelp); @@ -190,7 +190,7 @@ public class WWFActivity extends ADForm implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lHistory); row.appendChild(div); row.appendChild(fHistory); @@ -199,7 +199,7 @@ public class WWFActivity extends ADForm implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lAnswer); row.appendChild(div); Hbox hbox = new Hbox(); @@ -214,7 +214,7 @@ public class WWFActivity extends ADForm implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lTextMsg); row.appendChild(div); row.appendChild(fTextMsg); @@ -225,7 +225,7 @@ public class WWFActivity extends ADForm implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lForward); row.appendChild(div); hbox = new Hbox(); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/install/WTranslationDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/install/WTranslationDialog.java index fb53e2ea7d..0587abd727 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/install/WTranslationDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/install/WTranslationDialog.java @@ -125,7 +125,7 @@ public class WTranslationDialog extends TranslationController implements IFormCo row.appendChild(cbTable); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(bExport); row = rows.newRow(); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/CustomizeGridViewPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/CustomizeGridViewPanel.java index adf062fdd3..0a7cbe5692 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/CustomizeGridViewPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/CustomizeGridViewPanel.java @@ -240,7 +240,7 @@ public class CustomizeGridViewPanel extends Panel south.setStyle("border: none; margin: none"); Panel southPanel = new Panel(); south.setHeight("35px"); - southPanel.setAlign("Right"); + south.setStyle("text-align: right;"); southPanel.setStyle("margin-top: 2px; margin-right: 4px"); @SuppressWarnings("unused") String label = Msg.getMsg(Env.getCtx(), "save"); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java index 18693dc216..f4c631ce0a 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java @@ -213,11 +213,11 @@ public class InfoAssignmentPanel extends InfoPanel implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(serNoLabel); row.appendChild(div); row.appendChild(serNoField.getComponent()); @@ -187,7 +187,7 @@ public class InfoPAttributePanel extends Window implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lotLabel); row.appendChild(div); row.appendChild(lotField.getComponent()); @@ -196,7 +196,7 @@ public class InfoPAttributePanel extends Window implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lotLabel2); row.appendChild(div); row.appendChild(lotSelection); @@ -206,7 +206,7 @@ public class InfoPAttributePanel extends Window implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(guaranteeDateSelection); row.appendChild(div); row.appendChild(guaranteeDateField); @@ -275,7 +275,7 @@ public class InfoPAttributePanel extends Window implements EventListener label.setTooltiptext(description); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(label); row.appendChild(div); @@ -318,7 +318,7 @@ public class InfoPAttributePanel extends Window implements EventListener row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(new Label("-")); row.appendChild(div); row.appendChild(fieldTo); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/ExportAction.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/ExportAction.java index f050a84ed1..301fa09ed1 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/ExportAction.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/ExportAction.java @@ -117,7 +117,7 @@ public class ExportAction implements EventListener Hbox hb = new Hbox(); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType"))); hb.appendChild(div); hb.appendChild(cboType); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/FileImportAction.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/FileImportAction.java index e0a1bc1ed2..25825d4845 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/FileImportAction.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/action/FileImportAction.java @@ -146,7 +146,7 @@ public class FileImportAction implements EventListener Hbox hb = new Hbox(); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType"))); hb.appendChild(div); hb.appendChild(cboType); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java index 4fee9ee274..397bf30a9f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java @@ -206,7 +206,7 @@ public class WEMailDialog extends Window implements EventListener, ValueC Row row = new Row(); rows.appendChild(row); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lFrom); row.appendChild(div); row.appendChild(fFrom); @@ -215,7 +215,7 @@ public class WEMailDialog extends Window implements EventListener, ValueC row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lTo); row.appendChild(div); row.appendChild(fUser.getComponent()); @@ -230,7 +230,7 @@ public class WEMailDialog extends Window implements EventListener, ValueC row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lCc); row.appendChild(div); row.appendChild(fCcUser.getComponent()); @@ -250,7 +250,7 @@ public class WEMailDialog extends Window implements EventListener, ValueC row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lSubject); row.appendChild(div); row.appendChild(fSubject); @@ -264,7 +264,7 @@ public class WEMailDialog extends Window implements EventListener, ValueC row = new Row(); rows.appendChild(row); div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(lAttachment); row.appendChild(div); row.appendChild(fAttachment); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WRecordAccessDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WRecordAccessDialog.java index 77293b5a6b..a2bb2a8178 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WRecordAccessDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WRecordAccessDialog.java @@ -210,7 +210,7 @@ public class WRecordAccessDialog extends Window implements EventListener rows.appendChild(row); row.setSpans("7"); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(confirmPanel); row.appendChild(div); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java index 8a9239dc8c..4fff44350b 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java @@ -806,7 +806,7 @@ public class ZkReportViewer extends Window implements EventListener, ITab Hbox hb = new Hbox(); Div div = new Div(); - div.setAlign("right"); + div.setStyle("text-align: right;"); div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType"))); hb.appendChild(div); hb.appendChild(cboType);