IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> deprecated setAlign

This commit is contained in:
Richard Morales 2012-12-19 16:18:08 -05:00
parent f388799354
commit 4990c67dcc
18 changed files with 56 additions and 56 deletions

View File

@ -502,7 +502,7 @@ DataStatusListener, IADTabpanel, IdSpace
editorComps.add(editor.getComponent()); editorComps.add(editor.getComponent());
if (paintLabel) { if (paintLabel) {
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
Label label = editor.getLabel(); Label label = editor.getLabel();
div.appendChild(label); div.appendChild(label);
if (label.getDecorator() != null) if (label.getDecorator() != null)
@ -556,7 +556,7 @@ DataStatusListener, IADTabpanel, IdSpace
//display just a label if we are "heading only" //display just a label if we are "heading only"
Label label = new Label(field.getHeader()); Label label = new Label(field.getHeader());
Div div = new Div(); Div div = new Div();
div.setAlign("center"); div.setStyle("text-align: center;");
row.appendCellChild(createSpacer()); row.appendCellChild(createSpacer());
div.appendChild(label); div.appendChild(label);
row.appendCellChild(div); row.appendCellChild(div);

View File

@ -288,7 +288,7 @@ public class ProcessParameterPanel extends Panel implements
m_wEditors.add(editor); // add to Editors m_wEditors.add(editor); // add to Editors
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
org.adempiere.webui.component.Label label = editor.getLabel(); org.adempiere.webui.component.Label label = editor.getLabel();
div.appendChild(label); div.appendChild(label);
if (label.getDecorator() != null) if (label.getDecorator() != null)

View File

@ -239,7 +239,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(processLabel); div.appendChild(processLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(processField); row.appendChild(processField);
@ -249,7 +249,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(bPartnerLabel); div.appendChild(bPartnerLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(bPartnerField.getComponent()); row.appendChild(bPartnerField.getComponent());
@ -258,7 +258,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(tableLabel); div.appendChild(tableLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(tableField); row.appendChild(tableField);
@ -268,7 +268,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(nameQLabel); div.appendChild(nameQLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(nameQField); row.appendChild(nameQField);
@ -278,7 +278,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(descriptionQLabel); div.appendChild(descriptionQLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(descriptionQField); row.appendChild(descriptionQField);
@ -288,7 +288,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(helpQLabel); div.appendChild(helpQLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(helpQField); row.appendChild(helpQField);
@ -298,7 +298,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(createdByQLabel); div.appendChild(createdByQLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(createdByQField); row.appendChild(createdByQField);
@ -307,14 +307,14 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(createdQLabel); div.appendChild(createdQLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(createdQFrom); row.appendChild(createdQFrom);
row.appendChild(createdQTo); row.appendChild(createdQTo);
div = new Div(); div = new Div();
div.setAlign("center"); div.setStyle("text-align: center;");
div.appendChild(gridQuery); div.appendChild(gridQuery);
Tabpanel tabQueryPanel = new Tabpanel(); Tabpanel tabQueryPanel = new Tabpanel();
@ -337,15 +337,15 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2, 1"); row.setSpans("1, 2, 1");
div = new Div(); div = new Div();
div.setAlign("left"); div.setStyle("text-align: left;");
div.appendChild(bBack); div.appendChild(bBack);
row.appendChild(div); row.appendChild(div);
div = new Div(); div = new Div();
div.setAlign("center"); div.setStyle("text-align: center;");
div.appendChild(positionInfo); div.appendChild(positionInfo);
row.appendChild(div); row.appendChild(div);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(bNext); div.appendChild(bNext);
row.appendChild(div); row.appendChild(div);
@ -365,7 +365,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("4"); row.setSpans("4");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(createdField); div.appendChild(createdField);
row.appendChild(div); row.appendChild(div);
@ -411,7 +411,7 @@ public class WArchiveViewer extends Archive implements IFormController, EventLis
rows.appendChild(row); rows.appendChild(row);
row.setSpans("4"); row.setSpans("4");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(deleteArchive); div.appendChild(deleteArchive);
div.appendChild(bRefresh); div.appendChild(bRefresh);
div.appendChild(updateArchive); div.appendChild(updateArchive);

View File

@ -124,7 +124,7 @@ public class WAttributeGrid extends ADForm implements EventListener<Event>
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(attributeLabel1); div.appendChild(attributeLabel1);
row.appendChild(div); row.appendChild(div);
row.appendChild(attributeCombo1); row.appendChild(attributeCombo1);
@ -134,7 +134,7 @@ public class WAttributeGrid extends ADForm implements EventListener<Event>
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(attributeLabel2); div.appendChild(attributeLabel2);
row.appendChild(div); row.appendChild(div);
row.appendChild(attributeCombo2); row.appendChild(attributeCombo2);
@ -144,7 +144,7 @@ public class WAttributeGrid extends ADForm implements EventListener<Event>
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(labelPriceList); div.appendChild(labelPriceList);
row.appendChild(div); row.appendChild(div);
row.appendChild(pickPriceList); row.appendChild(pickPriceList);
@ -154,14 +154,14 @@ public class WAttributeGrid extends ADForm implements EventListener<Event>
rows.appendChild(row); rows.appendChild(row);
row.setSpans("1, 2"); row.setSpans("1, 2");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(labelWarehouse); div.appendChild(labelWarehouse);
row.appendChild(div); row.appendChild(div);
row.appendChild(pickWarehouse); row.appendChild(pickWarehouse);
pickWarehouse.setWidth("100%"); pickWarehouse.setWidth("100%");
div = new Div(); div = new Div();
div.setAlign("center"); div.setStyle("text-align: center;");
div.appendChild(gridSelection); div.appendChild(gridSelection);
Tabpanel tabSelectionPanel = new Tabpanel(); Tabpanel tabSelectionPanel = new Tabpanel();
@ -172,7 +172,7 @@ public class WAttributeGrid extends ADForm implements EventListener<Event>
tabs.appendChild(tabSelection); tabs.appendChild(tabSelection);
div = new Div(); div = new Div();
div.setAlign("center"); div.setStyle("text-align: center;");
div.appendChild(modeLabel); div.appendChild(modeLabel);
div.appendChild(modeCombo); div.appendChild(modeCombo);
modeCombo.addEventListener(Events.ON_CHANGE, this); modeCombo.addEventListener(Events.ON_CHANGE, this);
@ -456,7 +456,7 @@ public class WAttributeGrid extends ADForm implements EventListener<Event>
if (xValues != null) if (xValues != null)
{ {
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(new Label(m_attributes[indexAttr1].getName())); div.appendChild(new Label(m_attributes[indexAttr1].getName()));
descr.appendChild(div); descr.appendChild(div);
} }
@ -470,7 +470,7 @@ public class WAttributeGrid extends ADForm implements EventListener<Event>
if (xValue != null) if (xValue != null)
{ {
Div div = new Div(); Div div = new Div();
div.setAlign("center"); div.setStyle("text-align: center;");
div.appendChild(new Label(xValue.getName())); div.appendChild(new Label(xValue.getName()));
row.appendChild(div); row.appendChild(div);
} }

View File

@ -273,7 +273,7 @@ public class WCharge extends Charge implements IFormController, EventListener<Ev
south.setBorder("none"); south.setBorder("none");
borderlayout.appendChild(south); borderlayout.appendChild(south);
Panel southPanel = new Panel(); Panel southPanel = new Panel();
southPanel.setAlign("right"); southPanel.setStyle("text-align: right;");
south.appendChild(southPanel); south.appendChild(southPanel);
m_btnAccount.setLabel(Msg.getMsg(Env.getCtx(), AD_MESSAGE_CREATE) + " " + Msg.getMsg(Env.getCtx(), "From") + " " + Msg.getElement(Env.getCtx(), "Account_ID")); m_btnAccount.setLabel(Msg.getMsg(Env.getCtx(), AD_MESSAGE_CREATE) + " " + Msg.getMsg(Env.getCtx(), "From") + " " + Msg.getElement(Env.getCtx(), "Account_ID"));
m_btnAccount.addEventListener(Events.ON_CLICK, this); m_btnAccount.addEventListener(Events.ON_CLICK, this);

View File

@ -415,7 +415,7 @@ public class WReportCustomization implements IFormController,EventListener<Even
Hbox hb = new Hbox(); Hbox hb = new Hbox();
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType"))); div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType")));
hb.appendChild(div); hb.appendChild(div);
hb.appendChild(cboType); hb.appendChild(cboType);

View File

@ -301,7 +301,7 @@ public class WTabEditor extends TabEditor implements IFormController, EventListe
} }
if (paintLabel) { if (paintLabel) {
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
Label label = editor.getLabel(); Label label = editor.getLabel();
div.appendChild(label); div.appendChild(label);
if (label.getDecorator() != null) if (label.getDecorator() != null)
@ -322,7 +322,7 @@ public class WTabEditor extends TabEditor implements IFormController, EventListe
//display just a label if we are "heading only" //display just a label if we are "heading only"
Label label = new Label(gridField.getHeader()); Label label = new Label(gridField.getHeader());
Div div = new Div(); Div div = new Div();
div.setAlign("center"); div.setStyle("text-align: center;");
row.appendCellChild(createSpacer()); row.appendCellChild(createSpacer());
div.appendChild(label); div.appendChild(label);
row.appendCellChild(div); row.appendCellChild(div);

View File

@ -155,7 +155,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
Row row = new Row(); Row row = new Row();
rows.appendChild(row); rows.appendChild(row);
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lNode); div.appendChild(lNode);
row.appendChild(div); row.appendChild(div);
row.appendChild(fNode); row.appendChild(fNode);
@ -166,7 +166,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
rows.appendChild(row); rows.appendChild(row);
row.setValign("top"); row.setValign("top");
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lDesctiption); div.appendChild(lDesctiption);
row.appendChild(div); row.appendChild(div);
row.appendChild(fDescription); row.appendChild(fDescription);
@ -177,7 +177,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lHelp); div.appendChild(lHelp);
row.appendChild(div); row.appendChild(div);
row.appendChild(fHelp); row.appendChild(fHelp);
@ -190,7 +190,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lHistory); div.appendChild(lHistory);
row.appendChild(div); row.appendChild(div);
row.appendChild(fHistory); row.appendChild(fHistory);
@ -199,7 +199,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lAnswer); div.appendChild(lAnswer);
row.appendChild(div); row.appendChild(div);
Hbox hbox = new Hbox(); Hbox hbox = new Hbox();
@ -214,7 +214,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lTextMsg); div.appendChild(lTextMsg);
row.appendChild(div); row.appendChild(div);
row.appendChild(fTextMsg); row.appendChild(fTextMsg);
@ -225,7 +225,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lForward); div.appendChild(lForward);
row.appendChild(div); row.appendChild(div);
hbox = new Hbox(); hbox = new Hbox();

View File

@ -125,7 +125,7 @@ public class WTranslationDialog extends TranslationController implements IFormCo
row.appendChild(cbTable); row.appendChild(cbTable);
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(bExport); div.appendChild(bExport);
row = rows.newRow(); row = rows.newRow();

View File

@ -240,7 +240,7 @@ public class CustomizeGridViewPanel extends Panel
south.setStyle("border: none; margin: none"); south.setStyle("border: none; margin: none");
Panel southPanel = new Panel(); Panel southPanel = new Panel();
south.setHeight("35px"); south.setHeight("35px");
southPanel.setAlign("Right"); south.setStyle("text-align: right;");
southPanel.setStyle("margin-top: 2px; margin-right: 4px"); southPanel.setStyle("margin-top: 2px; margin-right: 4px");
@SuppressWarnings("unused") @SuppressWarnings("unused")
String label = Msg.getMsg(Env.getCtx(), "save"); String label = Msg.getMsg(Env.getCtx(), "save");

View File

@ -213,11 +213,11 @@ public class InfoAssignmentPanel extends InfoPanel implements EventListener<Even
row.appendChild(fieldResourceType.getComponent()); row.appendChild(fieldResourceType.getComponent());
row.appendChild(fieldResource.getComponent()); row.appendChild(fieldResource.getComponent());
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(fieldFrom); div.appendChild(fieldFrom);
row.appendChild(div); row.appendChild(div);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(fieldTo); div.appendChild(fieldTo);
row.appendChild(div); row.appendChild(div);
row.appendChild(bNew); row.appendChild(bNew);

View File

@ -129,7 +129,7 @@ public class InfoPAttributeInstancePanel extends Window implements EventListener
North north = new North(); North north = new North();
borderlayout.appendChild(north); borderlayout.appendChild(north);
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(showAll); div.appendChild(showAll);
north.appendChild(div); north.appendChild(div);

View File

@ -176,7 +176,7 @@ public class InfoPAttributePanel extends Window implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(serNoLabel); div.appendChild(serNoLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(serNoField.getComponent()); row.appendChild(serNoField.getComponent());
@ -187,7 +187,7 @@ public class InfoPAttributePanel extends Window implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lotLabel); div.appendChild(lotLabel);
row.appendChild(div); row.appendChild(div);
row.appendChild(lotField.getComponent()); row.appendChild(lotField.getComponent());
@ -196,7 +196,7 @@ public class InfoPAttributePanel extends Window implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lotLabel2); div.appendChild(lotLabel2);
row.appendChild(div); row.appendChild(div);
row.appendChild(lotSelection); row.appendChild(lotSelection);
@ -206,7 +206,7 @@ public class InfoPAttributePanel extends Window implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(guaranteeDateSelection); div.appendChild(guaranteeDateSelection);
row.appendChild(div); row.appendChild(div);
row.appendChild(guaranteeDateField); row.appendChild(guaranteeDateField);
@ -275,7 +275,7 @@ public class InfoPAttributePanel extends Window implements EventListener<Event>
label.setTooltiptext(description); label.setTooltiptext(description);
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(label); div.appendChild(label);
row.appendChild(div); row.appendChild(div);
@ -318,7 +318,7 @@ public class InfoPAttributePanel extends Window implements EventListener<Event>
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(new Label("-")); div.appendChild(new Label("-"));
row.appendChild(div); row.appendChild(div);
row.appendChild(fieldTo); row.appendChild(fieldTo);

View File

@ -117,7 +117,7 @@ public class ExportAction implements EventListener<Event>
Hbox hb = new Hbox(); Hbox hb = new Hbox();
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType"))); div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType")));
hb.appendChild(div); hb.appendChild(div);
hb.appendChild(cboType); hb.appendChild(cboType);

View File

@ -146,7 +146,7 @@ public class FileImportAction implements EventListener<Event>
Hbox hb = new Hbox(); Hbox hb = new Hbox();
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType"))); div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType")));
hb.appendChild(div); hb.appendChild(div);
hb.appendChild(cboType); hb.appendChild(cboType);

View File

@ -206,7 +206,7 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
Row row = new Row(); Row row = new Row();
rows.appendChild(row); rows.appendChild(row);
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lFrom); div.appendChild(lFrom);
row.appendChild(div); row.appendChild(div);
row.appendChild(fFrom); row.appendChild(fFrom);
@ -215,7 +215,7 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lTo); div.appendChild(lTo);
row.appendChild(div); row.appendChild(div);
row.appendChild(fUser.getComponent()); row.appendChild(fUser.getComponent());
@ -230,7 +230,7 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lCc); div.appendChild(lCc);
row.appendChild(div); row.appendChild(div);
row.appendChild(fCcUser.getComponent()); row.appendChild(fCcUser.getComponent());
@ -250,7 +250,7 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lSubject); div.appendChild(lSubject);
row.appendChild(div); row.appendChild(div);
row.appendChild(fSubject); row.appendChild(fSubject);
@ -264,7 +264,7 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
div = new Div(); div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(lAttachment); div.appendChild(lAttachment);
row.appendChild(div); row.appendChild(div);
row.appendChild(fAttachment); row.appendChild(fAttachment);

View File

@ -210,7 +210,7 @@ public class WRecordAccessDialog extends Window implements EventListener<Event>
rows.appendChild(row); rows.appendChild(row);
row.setSpans("7"); row.setSpans("7");
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(confirmPanel); div.appendChild(confirmPanel);
row.appendChild(div); row.appendChild(div);

View File

@ -806,7 +806,7 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
Hbox hb = new Hbox(); Hbox hb = new Hbox();
Div div = new Div(); Div div = new Div();
div.setAlign("right"); div.setStyle("text-align: right;");
div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType"))); div.appendChild(new Label(Msg.getMsg(Env.getCtx(), "FilesOfType")));
hb.appendChild(div); hb.appendChild(div);
hb.appendChild(cboType); hb.appendChild(cboType);