IDEMPIERE-512 Fix similar positioning problem in other forms
This commit is contained in:
parent
4356fa8f64
commit
a2080d5d84
|
@ -183,30 +183,33 @@ public class WAllocation extends Allocation
|
|||
Rows rows = null;
|
||||
Row row = null;
|
||||
|
||||
parameterLayout.setWidth("800px");
|
||||
parameterLayout.setWidth("80%");
|
||||
rows = parameterLayout.newRows();
|
||||
row = rows.newRow();
|
||||
row.appendChild(bpartnerLabel.rightAlign());
|
||||
row.appendChild(bpartnerSearch.getComponent());
|
||||
row.appendChild(dateLabel.rightAlign());
|
||||
row.appendChild(dateField.getComponent());
|
||||
row.appendChild(organizationLabel.rightAlign());
|
||||
row.appendChild(organizationPick.getComponent());
|
||||
row.appendCellChild(bpartnerLabel.rightAlign());
|
||||
bpartnerSearch.getComponent().setHflex("true");
|
||||
row.appendCellChild(bpartnerSearch.getComponent(),1);
|
||||
row.appendCellChild(dateLabel.rightAlign());
|
||||
row.appendCellChild(dateField.getComponent());
|
||||
row.appendCellChild(organizationLabel.rightAlign());
|
||||
organizationPick.getComponent().setHflex("true");
|
||||
row.appendCellChild(organizationPick.getComponent(),1);
|
||||
|
||||
row = rows.newRow();
|
||||
row.appendCellChild(currencyLabel.rightAlign(),1);
|
||||
currencyPick.getComponent().setHflex("true");
|
||||
row.appendCellChild(currencyPick.getComponent(),1);
|
||||
row.appendCellChild(multiCurrency,2);
|
||||
row.appendCellChild(new Space(),1);
|
||||
row.appendCellChild(new Space(),1);
|
||||
|
||||
row = rows.newRow();
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(autoWriteOff);
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(new Space());
|
||||
row.appendCellChild(new Space());
|
||||
row.appendCellChild(autoWriteOff);
|
||||
row.appendCellChild(new Space());
|
||||
row.appendCellChild(new Space());
|
||||
row.appendCellChild(new Space());
|
||||
row.appendCellChild(new Space());
|
||||
|
||||
South south = new South();
|
||||
south.setStyle("border: none");
|
||||
|
@ -217,14 +220,15 @@ public class WAllocation extends Allocation
|
|||
allocationLayout.setWidth("600px");
|
||||
rows = allocationLayout.newRows();
|
||||
row = rows.newRow();
|
||||
row.appendChild(differenceLabel.rightAlign());
|
||||
row.appendChild(allocCurrencyLabel.rightAlign());
|
||||
row.appendChild(differenceField);
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(chargeLabel.rightAlign());
|
||||
row.appendChild(chargePick.getComponent());
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(allocateButton);
|
||||
row.appendCellChild(differenceLabel.rightAlign());
|
||||
row.appendCellChild(allocCurrencyLabel.rightAlign());
|
||||
differenceField.setHflex("true");
|
||||
row.appendCellChild(differenceField);
|
||||
row.appendCellChild(chargeLabel.rightAlign());
|
||||
chargePick.getComponent().setHflex("true");
|
||||
row.appendCellChild(chargePick.getComponent(),2);
|
||||
allocateButton.setHflex("true");
|
||||
row.appendCellChild(allocateButton);
|
||||
|
||||
paymentPanel.appendChild(paymentLayout);
|
||||
paymentPanel.setWidth("100%");
|
||||
|
|
|
@ -99,21 +99,25 @@ public class WInOutGen extends InOutGen implements IFormController, EventListene
|
|||
lBPartner.setText(Msg.translate(Env.getCtx(), "C_BPartner_ID"));
|
||||
|
||||
Row row = form.getParameterPanel().newRows().newRow();
|
||||
row.appendChild(lWarehouse.rightAlign());
|
||||
row.appendChild(fWarehouse.getComponent());
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(lBPartner.rightAlign());
|
||||
row.appendChild(fBPartner.getComponent());
|
||||
row.appendChild(new Space());
|
||||
row.appendCellChild(lWarehouse.rightAlign());
|
||||
fWarehouse.getComponent().setHflex("true");
|
||||
row.appendCellChild(fWarehouse.getComponent());
|
||||
row.appendCellChild(new Space());
|
||||
row.appendCellChild(lBPartner.rightAlign());
|
||||
fBPartner.getComponent().setHflex("true");
|
||||
row.appendCellChild(fBPartner.getComponent());
|
||||
row.appendCellChild(new Space());
|
||||
|
||||
row = new Row();
|
||||
form.getParameterPanel().getRows().appendChild(row);
|
||||
row.appendChild(lDocType.rightAlign());
|
||||
row.appendChild(cmbDocType);
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(lDocAction.rightAlign());
|
||||
row.appendChild(docAction.getComponent());
|
||||
row.appendChild(new Space());
|
||||
row.appendCellChild(lDocType.rightAlign());
|
||||
cmbDocType.setHflex("true");
|
||||
row.appendCellChild(cmbDocType);
|
||||
row.appendCellChild(new Space());
|
||||
row.appendCellChild(lDocAction.rightAlign());
|
||||
docAction.getComponent().setHflex("true");
|
||||
row.appendCellChild(docAction.getComponent());
|
||||
row.appendCellChild(new Space());
|
||||
} // jbInit
|
||||
|
||||
/**
|
||||
|
|
|
@ -99,21 +99,25 @@ public class WInvoiceGen extends InvoiceGen implements IFormController, EventLis
|
|||
lBPartner.setText(Msg.translate(Env.getCtx(), "C_BPartner_ID"));
|
||||
|
||||
Row row = form.getParameterPanel().newRows().newRow();
|
||||
row.appendChild(lOrg.rightAlign());
|
||||
row.appendChild(fOrg.getComponent());
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(lBPartner.rightAlign());
|
||||
row.appendChild(fBPartner.getComponent());
|
||||
row.appendChild(new Space());
|
||||
row.appendCellChild(lOrg.rightAlign());
|
||||
fOrg.getComponent().setHflex("true");
|
||||
row.appendCellChild(fOrg.getComponent());
|
||||
row.appendCellChild(new Space());
|
||||
row.appendCellChild(lBPartner.rightAlign());
|
||||
fBPartner.getComponent().setHflex("true");
|
||||
row.appendCellChild(fBPartner.getComponent());
|
||||
row.appendCellChild(new Space());
|
||||
|
||||
row = new Row();
|
||||
form.getParameterPanel().getRows().appendChild(row);
|
||||
row.appendChild(lDocType.rightAlign());
|
||||
row.appendChild(cmbDocType);
|
||||
row.appendChild(new Space());
|
||||
row.appendChild(lDocAction.rightAlign());
|
||||
row.appendChild(docAction.getComponent());
|
||||
row.appendChild(new Space());
|
||||
row.appendCellChild(lDocType.rightAlign());
|
||||
cmbDocType.setHflex("true");
|
||||
row.appendCellChild(cmbDocType);
|
||||
row.appendCellChild(new Space());
|
||||
row.appendCellChild(lDocAction.rightAlign());
|
||||
docAction.getComponent().setHflex("true");
|
||||
row.appendCellChild(docAction.getComponent());
|
||||
row.appendCellChild(new Space());
|
||||
} // jbInit
|
||||
|
||||
/**
|
||||
|
|
|
@ -142,20 +142,24 @@ public class WTrxMaterial extends TrxMaterial
|
|||
|
||||
Rows rows = parameterLayout.newRows();
|
||||
Row row = rows.newRow();
|
||||
row.appendChild(orgLabel.rightAlign());
|
||||
row.appendChild(orgField.getComponent());
|
||||
row.appendChild(mtypeLabel.rightAlign());
|
||||
row.appendChild(mtypeField.getComponent());
|
||||
row.appendChild(dateFLabel.rightAlign());
|
||||
row.appendChild(dateFField.getComponent());
|
||||
row.appendCellChild(orgLabel.rightAlign());
|
||||
orgField.getComponent().setHflex("true");
|
||||
row.appendCellChild(orgField.getComponent());
|
||||
row.appendCellChild(mtypeLabel.rightAlign());
|
||||
mtypeField.getComponent().setHflex("true");
|
||||
row.appendCellChild(mtypeField.getComponent());
|
||||
row.appendCellChild(dateFLabel.rightAlign());
|
||||
row.appendCellChild(dateFField.getComponent());
|
||||
|
||||
row = rows.newRow();
|
||||
row.appendChild(locatorLabel.rightAlign());
|
||||
row.appendChild(locatorField.getComponent());
|
||||
row.appendChild(productLabel.rightAlign());
|
||||
row.appendChild(productField.getComponent());
|
||||
row.appendChild(dateTLabel.rightAlign());
|
||||
row.appendChild(dateTField.getComponent());
|
||||
row.appendCellChild(locatorLabel.rightAlign());
|
||||
locatorField.getComponent().setHflex("true");
|
||||
row.appendCellChild(locatorField.getComponent());
|
||||
row.appendCellChild(productLabel.rightAlign());
|
||||
productField.getComponent().setHflex("true");
|
||||
row.appendCellChild(productField.getComponent());
|
||||
row.appendCellChild(dateTLabel.rightAlign());
|
||||
row.appendCellChild(dateTField.getComponent());
|
||||
//
|
||||
southPanel.appendChild(confirmPanel);
|
||||
southPanel.appendChild(new Separator());
|
||||
|
|
Loading…
Reference in New Issue